diff options
| author | Jan Bujak <jan@parity.io> | 2024-10-31 07:37:25 +0000 |
|---|---|---|
| committer | Jan Bujak <jan@parity.io> | 2024-10-31 16:38:47 +0900 |
| commit | c1db011ccbf23de68505655b2eb0a05c37aad90d (patch) | |
| tree | 8469b7bbaf0603f161ca04d24a745dd55a281391 | |
| parent | 44b720a2d4d62c3d577b032f8a1d9241f1b94695 (diff) | |
| download | rust-c1db011ccbf23de68505655b2eb0a05c37aad90d.tar.gz rust-c1db011ccbf23de68505655b2eb0a05c37aad90d.zip | |
Add `lp64e` ABI to the spec tests match
| -rw-r--r-- | compiler/rustc_target/src/spec/tests/tests_impl.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/tests/tests_impl.rs b/compiler/rustc_target/src/spec/tests/tests_impl.rs index cc5931be860..bd47d12ef9f 100644 --- a/compiler/rustc_target/src/spec/tests/tests_impl.rs +++ b/compiler/rustc_target/src/spec/tests/tests_impl.rs @@ -165,7 +165,8 @@ impl Target { assert_matches!(&*self.llvm_abiname, "ilp32" | "ilp32f" | "ilp32d" | "ilp32e") } "riscv64" => { - assert_matches!(&*self.llvm_abiname, "lp64" | "lp64f" | "lp64d" | "lp64q") + // Note that the `lp64e` is still unstable as it's not (yet) part of the ELF psABI. + assert_matches!(&*self.llvm_abiname, "lp64" | "lp64f" | "lp64d" | "lp64q" | "lp64e") } _ => {} } |
