i586_unknown_netbsd.rs: fix formatting.

This hopefully fixes the CI run after integration of this
target.
This commit is contained in:
Havard Eidnes 2023-10-27 07:24:31 +00:00
parent 391b472a37
commit 893e726637

View File

@ -1,13 +1,10 @@
use crate::spec::{Cc, Lld, LinkerFlavor, StackProbeType, Target, TargetOptions}; use crate::spec::{Cc, LinkerFlavor, Lld, StackProbeType, Target, TargetOptions};
pub fn target() -> Target { pub fn target() -> Target {
let mut base = super::netbsd_base::opts(); let mut base = super::netbsd_base::opts();
base.cpu = "pentium".into(); base.cpu = "pentium".into();
base.max_atomic_width = Some(64); base.max_atomic_width = Some(64);
base.pre_link_args base.pre_link_args.entry(LinkerFlavor::Gnu(Cc::Yes, Lld::No)).or_default().push("-m32".into());
.entry(LinkerFlavor::Gnu(Cc::Yes, Lld::No))
.or_default()
.push("-m32".into());
base.stack_probes = StackProbeType::Call; base.stack_probes = StackProbeType::Call;
Target { Target {