We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaf1b1b commit 5ed556eCopy full SHA for 5ed556e
compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -275,6 +275,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
275
let mut e_flags: u32 = 0x0;
276
277
// Check if compressed is enabled
278
+ // `unstable_target_features` is used here because "c" is gated behind riscv_target_feature.
279
if sess.unstable_target_features.contains(&sym::c) {
280
e_flags |= elf::EF_RISCV_RVC;
281
}
0 commit comments