Skip to content

Commit f4c2527

Browse files
authored
Rollup merge of rust-lang#99643 - daxpedda:sign-ext-wasm, r=oli-obk
Add `sign-ext` target feature to the WASM target Some target features are still missing from that list. See rust-lang#97808 for basically the same PR by `@alexcrichton.` Related issue: rust-lang#96472. PR introducing this issue: rust-lang#87402.
2 parents 921cfbe + a5de4ee commit f4c2527

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/target_features.rs

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ const WASM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
249249
("bulk-memory", Some(sym::wasm_target_feature)),
250250
("mutable-globals", Some(sym::wasm_target_feature)),
251251
("reference-types", Some(sym::wasm_target_feature)),
252+
("sign-ext", Some(sym::wasm_target_feature)),
252253
];
253254

254255
const BPF_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[("alu32", Some(sym::bpf_target_feature))];

0 commit comments

Comments
 (0)