Skip to content

Commit cc61b81

Browse files
Rollup merge of rust-lang#131166 - madsmtm:target-info-switch-vendor, r=jieyouxu
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. CC target maintainers `@leo60228` and `@jam1garner`
2 parents b7c33e2 + 746c322 commit cc61b81

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)