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
{{ message }}
Repository navigation
rustc: wasm_import_module confuses module names of identically-named functions #50021
The type of f is correct since m1::f() takes no arguments, but the module name is not. Looks like rustc has the right function but with wrong module name.
Activity
lostman commentedon Oct 4, 2018
Just checked with the latest nightly:
This code still generates an incorrect Wasm:
The current issue is different though:
We are calling the same function
ftwice. Once with and once without the integer argument!Fix handling of wasm import modules and names
Rollup merge of rust-lang#67363 - alexcrichton:wasm-import-modules, r…
Rollup merge of rust-lang#67363 - alexcrichton:wasm-import-modules, r…
Rollup merge of rust-lang#67363 - alexcrichton:wasm-import-modules, r…