Update target to be in line with recent target refactors

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
This commit is contained in:
Till Wegmueller 2023-12-04 12:48:57 -08:00
parent 13426f4447
commit 5af05f8dfd
No known key found for this signature in database

View File

@ -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);