From 98e28e94a6e2fafaa4df8487fb34a8b6ba96502c Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Wed, 28 Aug 2019 01:08:03 -0700 Subject: [PATCH] make go-fuzz-build work with modules (for #195) --- go-fuzz-build/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }