Text file src/cmd/go/testdata/script/install_msan_and_race_require_cgo.txt
Documentation: cmd/go/testdata/script
1 # Tests Issue #21895 2 3 [!msan] [!race] skip 'skipping because both msan and the race detector are not supported' 4 5 env CGO_ENABLED=0 6 7 [race] ! go install -race triv.go 8 [race] stderr '-race requires cgo' 9 [race] ! stderr '-msan' 10 11 [msan] ! go install -msan triv.go 12 [msan] stderr '-msan requires cgo' 13 [msan] ! stderr '-race' 14 15 -- triv.go -- 16 package main 17 18 func main() {}