diff options
| author | Zhongyao Chen <chen.zhongyao@zte.com.cn> | 2025-08-19 10:33:54 +0800 |
|---|---|---|
| committer | Zhongyao Chen <chen.zhongyao@zte.com.cn> | 2025-08-19 10:33:54 +0800 |
| commit | 45ea228c42cfb6712be36a0b4b64b43b8651a54f (patch) | |
| tree | 35cbc46e01cb0a423583c21c0bfbb34128ba80e5 /compiler/rustc_codegen_llvm/src | |
| parent | ce07b5d3fc3d3bac072527ba29900f2238c11aba (diff) | |
| download | rust-45ea228c42cfb6712be36a0b4b64b43b8651a54f.tar.gz rust-45ea228c42cfb6712be36a0b4b64b43b8651a54f.zip | |
completely remove rva23s64
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index a85a894e42c..d81c4c329b3 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -278,11 +278,7 @@ 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" | "rva23s64" | "rva23u64" | "sha" | "ssnpm" | "supm") - if get_version().0 < 20 => - { - None - } + ("riscv32" | "riscv64", "zacas" | "rva23u64" | "supm") if get_version().0 < 20 => None, ( "s390x", "message-security-assist-extension12" |
