Skip to content

Commit cca77aa

Browse files
kouteicmccorm
authored andcommitted
Add lp64e ABI to the spec tests match
1 parent 7b19d5e commit cca77aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/tests/tests_impl.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ impl Target {
165165
assert_matches!(&*self.llvm_abiname, "ilp32" | "ilp32f" | "ilp32d" | "ilp32e")
166166
}
167167
"riscv64" => {
168-
assert_matches!(&*self.llvm_abiname, "lp64" | "lp64f" | "lp64d" | "lp64q")
168+
// Note that the `lp64e` is still unstable as it's not (yet) part of the ELF psABI.
169+
assert_matches!(&*self.llvm_abiname, "lp64" | "lp64f" | "lp64d" | "lp64q" | "lp64e")
169170
}
170171
_ => {}
171172
}

0 commit comments

Comments
 (0)