Removing unneeded cpu defintion and add features analogous to netbsd/freebsd

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
This commit is contained in:
Till Wegmueller 2023-12-21 11:59:05 -08:00
parent 5af05f8dfd
commit 074809bc81
No known key found for this signature in database

View File

@ -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,