From f1040d0507a115dbd1fea82e9937ed0837ce7d48 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 14 Sep 2022 02:41:42 +0900 Subject: [PATCH] cmd/ebitenmobile: remove GO111MODULE usage GO111MODULE is on by default as of Go 1.16. Closes #2276 --- cmd/ebitenmobile/gomobile.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/ebitenmobile/gomobile.go b/cmd/ebitenmobile/gomobile.go index 671b33552..faace9c9a 100644 --- a/cmd/ebitenmobile/gomobile.go +++ b/cmd/ebitenmobile/gomobile.go @@ -62,12 +62,7 @@ func removeAll(path string) error { } func runGo(args ...string) error { - // TODO: Remove this after Ebitengine drops the support of Go 1.15 and older. - // GO111MODULE is on by default as of Go 1.16. - env := []string{ - "GO111MODULE=on", - } - return runCommand("go", args, env) + return runCommand("go", args, nil) } // exe adds the .exe extension to the given filename.