diff options
author | Ayke van Laethem <[email protected]> | 2018-11-17 14:36:41 +0100 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2018-11-17 14:36:41 +0100 |
commit | 21db7e60995bc7e894bc19a93e143c3f26eb9569 (patch) | |
tree | 5a1477b3ca777418f597c3e8bb78d4edbf80e333 /main.go | |
parent | 15a4afb22a439bcc388d83754c031f5ba00e352d (diff) | |
download | tinygo-21db7e60995bc7e894bc19a93e143c3f26eb9569.tar.gz tinygo-21db7e60995bc7e894bc19a93e143c3f26eb9569.zip |
main: move "tinygo" build tag to compiler
Replace "tgo" with "tinygo" and set it always (even with `tinygo run`).
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |