Skip to content

Commit a5de4ee

Browse files
committed
Add sign-ext target feature to the WASM target
1 parent 2e43d06 commit a5de4ee

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)