github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/tpl/internal/go_templates/testenv/testenv_unix.go (about) 1 // Copyright 2021 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 unix 6 7 package testenv 8 9 import ( 10 "syscall" 11 ) 12 13 // Sigquit is the signal to send to kill a hanging subprocess. 14 // Send SIGQUIT to get a stack trace. 15 var Sigquit = syscall.SIGQUIT 16 17 func syscallIsNotSupported(err error) bool { 18 // Removed by Hugo (not supported in Go 1.20) 19 return false 20 }