Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b0da01f

Browse files
committedJul 22, 2022
Set crt_static_respected to true for the Emscripten target
1 parent 9da4fea commit b0da01f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ pub fn target() -> Target {
2727
exe_suffix: ".js".into(),
2828
linker: None,
2929
relocation_model: RelocModel::Pic,
30+
crt_static_respected: true,
31+
crt_static_default: true,
3032
panic_strategy: PanicStrategy::Unwind,
3133
no_default_libraries: false,
3234
post_link_args,

0 commit comments

Comments
 (0)
Please sign in to comment.