Skip to content

Commit

Permalink
Rollup merge of #131166 - madsmtm:target-info-switch-vendor, r=jieyouxu
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
workingjubilee authored Oct 3, 2024
2 parents b7c33e2 + 746c322 commit cc61b81
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub(crate) fn target() -> Target {
linker: Some("rust-lld".into()),
link_script: Some(LINKER_SCRIPT.into()),
os: "horizon".into(),
vendor: "nintendo".into(),
max_atomic_width: Some(128),
stack_probes: StackProbeType::Inline,
panic_strategy: PanicStrategy::Abort,
Expand Down

0 comments on commit cc61b81

Please sign in to comment.