We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14bc57 commit 8407612Copy full SHA for 8407612
src/librustc_codegen_llvm/llvm_util.rs
@@ -243,7 +243,8 @@ pub fn target_feature_whitelist(sess: &Session)
243
"hexagon" => HEXAGON_WHITELIST,
244
"mips" | "mips64" => MIPS_WHITELIST,
245
"powerpc" | "powerpc64" => POWERPC_WHITELIST,
246
- "wasm32" => WASM_WHITELIST,
+ // wasm32 on emscripten does not support these target features
247
+ "wasm32" if !sess.target.target.options.is_like_emscripten => WASM_WHITELIST,
248
_ => &[],
249
}
250
0 commit comments