tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.49k stars 913 forks source link

darwin releases missing wasm-opt? #4551

Open dkegel-fastly opened 3 weeks ago

dkegel-fastly commented 3 weeks ago

Shades of https://github.com/tinygo-org/tinygo/issues/3977, but for darwin:

% tar -tf ~/Downloads/tinygo0.33.0.darwin-arm64.tar.gz | grep -i wasm-opt || echo bupkis
bupkis
% tar -tf ~/Downloads/tinygo0.33.0.darwin-amd64.tar.gz | grep -i wasm-opt || echo bupkis 
bupkis
% tar -tf ~/Downloads/tinygo0.33.0.linux-amd64.tar.gz | grep -i wasm-opt || echo bupkis 
tinygo/bin/wasm-opt

Persists in 0.34-pre

deadprogram commented 3 weeks ago

The homebrew recipe installs it https://github.com/tinygo-org/homebrew-tools/blob/master/tinygo.rb#L6

dkegel-fastly commented 3 weeks ago

Right. I guess that's how most people get it, so including it in the tarball is low priority.

I use brew for everything but go and tinygo, I don't trust it to not screw up... otherwise I wouldn't have noticed.