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
zig cc --target=wasm32-wasi-musl: unsupported linker arg: --import-undefined Β #20636
Activity
gabydd commentedon Jul 15, 2024
I believe the correct arg is
-Wl,--import-symbolsseezig/src/link/Wasm.zig
Lines 3547 to 3549 in e5c974f
so for you example you could use:
zig cc --target=wasm32-wasi-musl -mexec-model=reactor hello.o -o hello.wasm -Wl,--import-symbolsantocuni commentedon Jul 17, 2024
Thank you,
-Wl,--import-symbolsworks!Would be nice to have full compatibility with clang though, so I guess that my bug report is still valid?