Skip to content

Commit

Permalink
Set crt_static_respected to true for the Emscripten target
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Jul 22, 2022
1 parent 9da4fea commit b0da01f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pub fn target() -> Target {
exe_suffix: ".js".into(),
linker: None,
relocation_model: RelocModel::Pic,
crt_static_respected: true,
crt_static_default: true,
panic_strategy: PanicStrategy::Unwind,
no_default_libraries: false,
post_link_args,
Expand Down

0 comments on commit b0da01f

Please sign in to comment.