1
0
mirror of https://github.com/golang/go synced 2024-09-23 11:20:17 -06:00
go/misc
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
..
android misc: use strings.Builder 2022-09-06 15:44:25 +00:00
arm
cgo cmd/go: add check for unknown godebug setting 2023-04-18 13:19:19 +00:00
chrome/gophertool docs: fix case of GitHub 2021-03-05 02:35:21 +00:00
ios all: gofmt main repo 2022-04-11 16:34:30 +00:00
linkcheck all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
reboot misc/reboot: overlay $GOROOT/lib in temporary goroot 2023-01-18 01:53:44 +00:00
swig
wasm misc/wasm: add wasip1/wasm exec script 2023-04-06 20:59:01 +00:00
editors
go.mod misc: update go.mod to 1.21 2023-01-26 16:55:59 +00:00