Skip to content

Commit b0da01f

Browse files
committed
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

+2
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)