Source file src/cmd/go/internal/base/signal_notunix.go

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build plan9 || windows
     6  
     7  package base
     8  
     9  import (
    10  	"os"
    11  )
    12  
    13  var signalsToIgnore = []os.Signal{os.Interrupt}
    14  
    15  // SignalTrace is the signal to send to make a Go program
    16  // crash with a stack trace (no such signal in this case).
    17  var SignalTrace os.Signal = nil
    18  

View as plain text