Skip to content

Commit 97cd27a

Browse files
committed
Add emscripten to the "wasm" family of targets
1 parent 7dc3836 commit 97cd27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn target() -> Target {
3737
is_like_emscripten: true,
3838
panic_strategy: PanicStrategy::Unwind,
3939
post_link_args,
40-
families: vec!["unix".to_string()],
40+
families: vec!["unix".to_string(), "wasm".to_string()],
4141
..options
4242
};
4343
Target {

0 commit comments

Comments
 (0)