You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried runnign go run mage.go build with
tinygo version 0.31.2 and go version 1.21 5 and got following error
go: downloading github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e
error: could not find wasm-opt, set the WASMOPT environment variable to override
Error: running "tinygo build -gc=custom -opt=2 -o build/mainraw.wasm -scheduler=none -target=wasi -tags='custommalloc nottinygc_envoy no_fs_access memoize_builders coraza.rule.multiphase_evaluation'" failed with exit code 1
exit status 1
Any diea how to resolve this. When googling i found this is because binaryen is not available. is it something that needs to be installed?
The text was updated successfully, but these errors were encountered:
On Fri, Jun 28, 2024 at 8:32 AM vivekskrishna ***@***.***> wrote:
Tried runnign go run mage.go build with
tinygo version 0.31.2 and go version 1.21 5 and got following error
go: downloading github.com/petar-dambovaliev/aho-corasick
v0.0.0-20230725210150-fb29fc3c913e
error: could not find wasm-opt, set the WASMOPT environment variable to
override
Error: running "tinygo build -gc=custom -opt=2 -o build/mainraw.wasm
-scheduler=none -target=wasi -tags='custommalloc nottinygc_envoy
no_fs_access memoize_builders coraza.rule.multiphase_evaluation'" failed
with exit code 1
exit status 1
Any diea how to resolve this. When googling i found this is because
binaryen is not available. is it something that needs to be installed?
—
Reply to this email directly, view it on GitHub
<#283>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAXNCU6WKHD7OWMJS6DZJUGSVAVCNFSM6AAAAABKBKG7X2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TSNZZGE3DKMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
FYI #282 is merged. Master now builds with tinygo 0.31.2 and go 1.20. I confirm the issue JC pointed to, I faced the same problem and it is why I used tinygo binary downloaded from the repository and I had to install the binaryen dependency
Tried runnign go run mage.go build with
tinygo version 0.31.2 and go version 1.21 5 and got following error
go: downloading github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e
error: could not find wasm-opt, set the WASMOPT environment variable to override
Error: running "tinygo build -gc=custom -opt=2 -o build/mainraw.wasm -scheduler=none -target=wasi -tags='custommalloc nottinygc_envoy no_fs_access memoize_builders coraza.rule.multiphase_evaluation'" failed with exit code 1
exit status 1
Any diea how to resolve this. When googling i found this is because binaryen is not available. is it something that needs to be installed?
The text was updated successfully, but these errors were encountered: