about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Bujak <jan@parity.io>2024-10-31 07:36:42 +0000
committerJan Bujak <jan@parity.io>2024-10-31 16:38:45 +0900
commit44b720a2d4d62c3d577b032f8a1d9241f1b94695 (patch)
tree23b3fbd8f0867c3ec96dcf421be48ea334e45203
parent167350d3e99f8f430949116b1e7bcdb38f9ba26c (diff)
downloadrust-44b720a2d4d62c3d577b032f8a1d9241f1b94695.tar.gz
rust-44b720a2d4d62c3d577b032f8a1d9241f1b94695.zip
Add a comment about `lp64e` still being unstable
-rw-r--r--compiler/rustc_codegen_ssa/src/back/metadata.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/metadata.rs b/compiler/rustc_codegen_ssa/src/back/metadata.rs
index 49365ace0e2..4c25c85569b 100644
--- a/compiler/rustc_codegen_ssa/src/back/metadata.rs
+++ b/compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -325,6 +325,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
                 "" | "ilp32" | "lp64" => (),
                 "ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE,
                 "ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE,
+                // Note that the `lp64e` is still unstable as it's not (yet) part of the ELF psABI.
                 "ilp32e" | "lp64e" => e_flags |= elf::EF_RISCV_RVE,
                 _ => bug!("unknown RISC-V ABI name"),
             }