From 074809bc8174341887340eff814677fa40362813 Mon Sep 17 00:00:00 2001 From: Till Wegmueller Date: Thu, 21 Dec 2023 11:59:05 -0800 Subject: [PATCH] Removing unneeded cpu defintion and add features analogous to netbsd/freebsd Signed-off-by: Till Wegmueller --- .../rustc_target/src/spec/targets/aarch64_unknown_illumos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs index f4e4ac51ae7..634cb063a49 100644 --- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs @@ -3,9 +3,9 @@ pub fn target() -> Target { let mut base = base::illumos::opts(); base.add_pre_link_args(LinkerFlavor::Unix(Cc::Yes), &["-std=c99"]); - base.cpu = "aarch64".into(); base.max_atomic_width = Some(128); base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::CFI; + base.features = "+v8a".into(); Target { // LLVM does not currently have a separate illumos target,