mirror of
https://github.com/golang/go
synced 2024-11-26 23:01:23 -07:00
cmd/go: compile runtime/internal/syscall as a runtime package
runtime/internal/syscall is a runtime package, so it should be built with -+. Specifically, we don't want libfuzzer instrumentation in Go functions defined in runtime/internal/syscall, which is disabled with -+. For #53190. Change-Id: I9f16f5c7c7ce10b98371e9de82fcea6da854e163 Reviewed-on: https://go-review.googlesource.com/c/go/+/413818 Run-TryBot: Michael Pratt <mpratt@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
8f9bfa9b7b
commit
a861eee51a
@ -39,6 +39,7 @@ var runtimePackages = map[string]struct{}{
|
||||
"runtime/internal/atomic": struct{}{},
|
||||
"runtime/internal/math": struct{}{},
|
||||
"runtime/internal/sys": struct{}{},
|
||||
"runtime/internal/syscall": struct{}{},
|
||||
}
|
||||
|
||||
// The Go toolchain.
|
||||
|
Loading…
Reference in New Issue
Block a user