wasm: no standard output on Windows #32774
Labels
arch-wasm
WebAssembly issues
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
NA
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Source code
GOOS=js GOARCH=wasm go build -o main.wasm main.go
node wasm_exec.js main.wasm
What did you expect to see?
As the node versions (v12.4.0) and input files (wasm_exec.js and main.wasm) are identical, I would expect it to work on windows.
What did you see instead?
No terminal output on windows. The command completes with no output in terminal, whether it's command prompt, git bash or powershell.
This is probably a mistake on my part rather than a bug - I guess I'm missing something but can't seem to find any related information.
Thank you for your help !
EDIT: added go source code
The text was updated successfully, but these errors were encountered: