diff --git a/server/package.json b/server/package.json index b7c2433..23c6545 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "wasmo", - "version": "1.0.6", + "version": "1.0.8", "main": "index.js", "license": "MIT", "scripts": { diff --git a/server/services/compiler/go.js b/server/services/compiler/go.js index fbe68ee..32669f0 100644 --- a/server/services/compiler/go.js +++ b/server/services/compiler/go.js @@ -7,7 +7,6 @@ module.exports = options => new Compiler({ "go get github.com/extism/go-pdk", "go get github.com/buger/jsonparser", "go mod tidy", - options => `tinygo build ${options.isReleaseBuild ? '--no-debug ' : ''}-o ${options.wasmName}.wasm ` - ], - withWasi: "-target=wasi" + options => `tinygo build ${options.isReleaseBuild ? '--no-debug ' : ''}-o ${options.wasmName}.wasm -target=wasi ` + ] }) \ No newline at end of file