-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
wasm-ld must be passed -mwasm64 to compile for wasm64 #11209
Copy link
Copy link
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Zig Version
0.10.0-dev.1374+d78b8c10b
Steps to Reproduce
build.zigI was using; it worked fine on wasm32). I was specifically building withzig build -Drelease-small, but the issue occurs in any build mode.Expected Behavior
My project is compiled successfully.
Actual Behavior
The project fails to build, because the linker needs to be passed
-mwasm64:For reference, my system's
wasm-ldcomes from LLD 13.0.1.