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
Pyrolistical opened this issue
Sep 17, 2022
· 1 comment
· Fixed by #13396
Labels
arch-wasm32-bit and 64-bit WebAssemblybugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.
What is really bad about this bug is all calls to b.hello go to a.hello and that is really hard to detect. I got random errors with "bitcast invalid" but that was a red herring.
arch-wasm32-bit and 64-bit WebAssemblybugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.
Zig Version
0.10.0-dev.4060+61aaef0b0
Steps to Reproduce
a.zig
b.zig
double-hello.zig
build command
zig build-lib double-hello.zig -target wasm32-freestanding -dynamic
decompile
double-hello.wasm
using https://webassembly.github.io/wabt/demo/wasm2wat/Expected Behavior
In decompiled wasm, expected two hello functions.
Actual Behavior
In decompiled wasm, only found a.hello
The text was updated successfully, but these errors were encountered: