diff --git a/main.go b/main.go index 8ae5ce316a..a6178dc529 100644 --- a/main.go +++ b/main.go @@ -1685,9 +1685,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)