1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:10:07 -07:00
go/misc/cgo/testshared
Russ Cox 14ab998f95 cmd/go: add check for unknown godebug setting
A //go:debug line mentioning an unknown or retired setting
should be diagnosed as making the program invalid. Do that.
We agreed on this in the proposal but I forgot to implement it.

Change-Id: Ie69072a1682d4eeb6866c02adbbb426f608567c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/476280
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-18 13:19:19 +00:00
..
testdata misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
overlaydir_test.go Revert "cmd/go: remove support for -buildmode=shared" 2021-10-29 17:32:24 +00:00
shared_test.go cmd/go: add check for unknown godebug setting 2023-04-18 13:19:19 +00:00