diff options
| author | bors <bors@rust-lang.org> | 2024-10-31 12:57:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-31 12:57:11 +0000 |
| commit | 20c909ff9cdd88d33768a4ddb8952927a675b0ad (patch) | |
| tree | 9b2dad1974e909c15aa35c64585df0df5e7ff015 /compiler/rustc_codegen_ssa/src | |
| parent | 9ccfedf186d1ee3ef7c17737167f2f90276f9ed0 (diff) | |
| parent | c9584b7a9626c01387412ae346de0b76c673b58e (diff) | |
| download | rust-20c909ff9cdd88d33768a4ddb8952927a675b0ad.tar.gz rust-20c909ff9cdd88d33768a4ddb8952927a675b0ad.zip | |
Auto merge of #132401 - matthiaskrgr:rollup-599ieqr, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #130693 (Add `minicore` test auxiliary and support `//@ add-core-stubs` directive in ui/assembly/codegen tests) - #132316 (CI: use free runners for 3 fast windows jobs) - #132354 (Add `lp64e` RISC-V ABI) - #132395 (coverage: Avoid ICE when `coverage_cx` is unexpectedly unavailable) - #132396 (CI: use free runners for x86_64-gnu-tools and x86_64-rust-for-linux) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/metadata.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/metadata.rs b/compiler/rustc_codegen_ssa/src/back/metadata.rs index 8857fda1e97..4c25c85569b 100644 --- a/compiler/rustc_codegen_ssa/src/back/metadata.rs +++ b/compiler/rustc_codegen_ssa/src/back/metadata.rs @@ -325,7 +325,8 @@ 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, - "ilp32e" => e_flags |= elf::EF_RISCV_RVE, + // 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"), } |
