Skip to content

Commit 48be303

Browse files
committed
Add riscv relax target feature
1 parent 11cd4ff commit 48be303

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
@@ -251,6 +251,7 @@ const RISCV_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
251251
("e", Some(sym::riscv_target_feature)),
252252
("f", Some(sym::riscv_target_feature)),
253253
("m", Some(sym::riscv_target_feature)),
254+
("relax", Some(sym::riscv_target_feature)),
254255
("v", Some(sym::riscv_target_feature)),
255256
("zba", Some(sym::riscv_target_feature)),
256257
("zbb", Some(sym::riscv_target_feature)),

0 commit comments

Comments
 (0)