diff options
| author | Chen Zhongyao <chen.zhongyao@zte.com.cn> | 2025-07-14 13:35:53 +0000 |
|---|---|---|
| committer | Zhongyao Chen <chen.zhongyao@zte.com.cn> | 2025-08-11 21:08:35 +0000 |
| commit | a4cf5e9eca00527082fd58356e4adc8775aeee03 (patch) | |
| tree | 958d2315f796f9f1e2ca805544bd2113807e8b65 /compiler/rustc_codegen_llvm | |
| parent | 577166503aee7290e09374da21f4045c455acfd5 (diff) | |
| download | rust-a4cf5e9eca00527082fd58356e4adc8775aeee03.tar.gz rust-a4cf5e9eca00527082fd58356e4adc8775aeee03.zip | |
Add new Tier-3 target: riscv64a23-unknown-linux-gnu
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index 28d2100f478..a85a894e42c 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -278,7 +278,11 @@ pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option<LLVMFea None } // Filter out features that are not supported by the current LLVM version - ("riscv32" | "riscv64", "zacas") if get_version().0 < 20 => None, + ("riscv32" | "riscv64", "zacas" | "rva23s64" | "rva23u64" | "sha" | "ssnpm" | "supm") + if get_version().0 < 20 => + { + None + } ( "s390x", "message-security-assist-extension12" |
