os: Stdin.Stat().Size() always returns 0 with GOOS=wasip1 GOARCH=wasm #62392
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.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, but only tested against
GOOS=wasp1 GOARCH=wasm
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
read Stdin, check stat.size
run via wasi runtime, piping input to stdin
What did you expect to see?
size should match contents of stdin
What did you see instead?
size of 0 is always returned
The text was updated successfully, but these errors were encountered: