diff --git a/go-fuzz-build/main.go b/go-fuzz-build/main.go index d8c536ff8..c459496e4 100644 --- a/go-fuzz-build/main.go +++ b/go-fuzz-build/main.go @@ -59,7 +59,7 @@ func makeTags() string { // that clients can then modify and use for calls to go/packages. func basePackagesConfig() *packages.Config { cfg := new(packages.Config) - cfg.Env = append(os.Environ(), "GO111MODULE=off") + cfg.Env = append(os.Environ(), "GO111MODULE=auto") return cfg }