Skip to content

Commit 746c322

Browse files
committed
Fix target_vendor for aarch64-nintendo-switch-freestanding
Previously set to `target_vendor = "unknown"`, but Nintendo is clearly the vendor of the Switch, and is also reflected in the target name itself.
1 parent 612796c commit 746c322

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub(crate) fn target() -> Target {
2323
linker: Some("rust-lld".into()),
2424
link_script: Some(LINKER_SCRIPT.into()),
2525
os: "horizon".into(),
26+
vendor: "nintendo".into(),
2627
max_atomic_width: Some(128),
2728
stack_probes: StackProbeType::Inline,
2829
panic_strategy: PanicStrategy::Abort,

0 commit comments

Comments
 (0)