Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinygo for 1.24 is out and works, BUT a little bug for crypto #159

Open
gedw99 opened this issue Mar 7, 2025 · 0 comments
Open

tinygo for 1.24 is out and works, BUT a little bug for crypto #159

gedw99 opened this issue Mar 7, 2025 · 0 comments

Comments

@gedw99
Copy link

gedw99 commented Mar 7, 2025

tinygo for 1.24 is out and works, BUT a little bug for crypto.

 go version go1.24.1 darwin/arm64

tinygo version 0.36.0 darwin/arm64 (using go version go1.24.1 and LLVM version 19.1.2)

# tinygo


cd _examples/fetch &&  tinygo build -o workers_fetch_bin_js_wasmtiny.wasm -target wasm .
/opt/homebrew/opt/go/libexec/src/crypto/internal/sysrand/rand_js.go:13:22: //go:wasmimport gojs runtime.getRandomData: unsupported parameter type []byte
# go

cd _examples/fetch &&  GOOS=js GOARCH=wasm go build -o workers_fetch_bin_js_wasmgo.wasm

# grab the wasm_exec.js  from new place :)
cp /opt/homebrew/opt/go/libexec/lib/wasm/wasm_exec.js 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant