From 21db7e60995bc7e894bc19a93e143c3f26eb9569 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 17 Nov 2018 14:36:41 +0100 Subject: main: move "tinygo" build tag to compiler Replace "tgo" with "tinygo" and set it always (even with `tinygo run`). --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index e4b0e9655..eba4720ba 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func Compile(pkgName, outpath string, spec *TargetSpec, config *BuildConfig, act DumpSSA: config.dumpSSA, RootDir: sourceDir(), GOPATH: getGopath(), - BuildTags: append(spec.BuildTags, "tinygo"), + BuildTags: spec.BuildTags, InitInterp: config.initInterp, } c, err := compiler.NewCompiler(pkgName, compilerConfig) -- cgit v1.2.3