From 5af05f8dfdf0873381806eb470ae3d1f7bcc06b2 Mon Sep 17 00:00:00 2001 From: Till Wegmueller Date: Mon, 4 Dec 2023 12:48:57 -0800 Subject: [PATCH] Update target to be in line with recent target refactors Signed-off-by: Till Wegmueller --- .../src/spec/{ => targets}/aarch64_unknown_illumos.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename compiler/rustc_target/src/spec/{ => targets}/aarch64_unknown_illumos.rs (84%) diff --git a/compiler/rustc_target/src/spec/aarch64_unknown_illumos.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs similarity index 84% rename from compiler/rustc_target/src/spec/aarch64_unknown_illumos.rs rename to compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs index 25ce3c77c6f..f4e4ac51ae7 100644 --- a/compiler/rustc_target/src/spec/aarch64_unknown_illumos.rs +++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_illumos.rs @@ -1,7 +1,7 @@ -use crate::spec::{Cc, LinkerFlavor, SanitizerSet, Target}; +use crate::spec::{base, Cc, LinkerFlavor, SanitizerSet, Target}; pub fn target() -> Target { - let mut base = super::illumos_base::opts(); + 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);