Skip to content

Commit 6912064

Browse files
committed
rustc_codegen_ssa: Fix comment
1 parent d327d65 commit 6912064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ pub(super) fn elf_e_flags(architecture: Architecture, sess: &Session) -> u32 {
329329
// Source: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/079772828bd10933d34121117a222b4cc0ee2200/riscv-elf.adoc
330330
let mut e_flags: u32 = 0x0;
331331

332-
// Check if compressed is enabled
332+
// Check if compression is enabled
333333
// `unstable_target_features` is used here because "c" is gated behind riscv_target_feature.
334334
if sess.unstable_target_features.contains(&sym::c) {
335335
e_flags |= elf::EF_RISCV_RVC;

0 commit comments

Comments
 (0)