diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2021-11-16 13:10:35 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2021-11-16 13:10:35 -0800 |
| commit | 97cd27ab1dea10b5f58441f10e9b0771fd827eb8 (patch) | |
| tree | 89643f826c604332921e4d6bc61af4f980dac10d | |
| parent | 7dc38369c00380f8ec23f8b3bf4cfc0ea5c94bcf (diff) | |
| download | rust-97cd27ab1dea10b5f58441f10e9b0771fd827eb8.tar.gz rust-97cd27ab1dea10b5f58441f10e9b0771fd827eb8.zip | |
Add emscripten to the "wasm" family of targets
| -rw-r--r-- | compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs b/compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs index 86b1a755233..69a404ec564 100644 --- a/compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs +++ b/compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs @@ -37,7 +37,7 @@ pub fn target() -> Target { is_like_emscripten: true, panic_strategy: PanicStrategy::Unwind, post_link_args, - families: vec!["unix".to_string()], + families: vec!["unix".to_string(), "wasm".to_string()], ..options }; Target { |
