Skip to content

Commit

Permalink
Update compiler/rustc_target/src/spec/targets/wasm32_wasip1_threads.rs
Browse files Browse the repository at this point in the history
Co-authored-by: bjorn3 <[email protected]>
  • Loading branch information
oligamiq and bjorn3 authored Sep 23, 2024
1 parent 29f471b commit 578bd85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn target() -> Target {

options.add_pre_link_args(
LinkerFlavor::WasmLld(Cc::No),
&["--import-memory", "--export-memory", "--shared-memory", "-Wl,--max-memory=1073741824", "-lwasi-emulated-mman"],
&["--import-memory", "--export-memory", "--shared-memory", "--max-memory=1073741824", "-lwasi-emulated-mman"],
);
options.add_pre_link_args(
LinkerFlavor::WasmLld(Cc::Yes),
Expand Down

0 comments on commit 578bd85

Please sign in to comment.