diff --git a/main.go b/main.go index 51e62aaaee..cce1e29fea 100644 --- a/main.go +++ b/main.go @@ -1564,9 +1564,6 @@ func main() { usage(command) os.Exit(1) } - if options.Target == "" && filepath.Ext(outpath) == ".wasm" { - options.Target = "wasm" - } err := Build(pkgName, outpath, options) handleCompilerError(err)