about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTsukasa OI <floss_rust@irq.a4lg.com>2025-08-25 08:48:39 +0000
committerTsukasa OI <floss_rust@irq.a4lg.com>2025-08-26 03:42:37 +0000
commit691206470b0a48fa89a8742bba21bf1034a44b54 (patch)
tree431c3d93a5d16f3417d842d16ef40bf8ac1ae77b
parentd327d651e2583eb601978179f2ca9808f5e243bb (diff)
downloadrust-691206470b0a48fa89a8742bba21bf1034a44b54.tar.gz
rust-691206470b0a48fa89a8742bba21bf1034a44b54.zip
rustc_codegen_ssa: Fix comment
-rw-r--r--compiler/rustc_codegen_ssa/src/back/metadata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/metadata.rs b/compiler/rustc_codegen_ssa/src/back/metadata.rs
index bf38c02e908..55cbf81a8bb 100644
--- a/compiler/rustc_codegen_ssa/src/back/metadata.rs
+++ b/compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -329,7 +329,7 @@ pub(super) fn elf_e_flags(architecture: Architecture, sess: &Session) -> u32 {
             // Source: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/079772828bd10933d34121117a222b4cc0ee2200/riscv-elf.adoc
             let mut e_flags: u32 = 0x0;
 
-            // Check if compressed is enabled
+            // Check if compression is enabled
             // `unstable_target_features` is used here because "c" is gated behind riscv_target_feature.
             if sess.unstable_target_features.contains(&sym::c) {
                 e_flags |= elf::EF_RISCV_RVC;