Rollup merge of #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`
This commit is contained in:
Jubilee 2024-10-02 21:26:59 -07:00 committed by GitHub
commit cc61b81c6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,7 @@ pub(crate) fn target() -> Target {
linker: Some("rust-lld".into()), linker: Some("rust-lld".into()),
link_script: Some(LINKER_SCRIPT.into()), link_script: Some(LINKER_SCRIPT.into()),
os: "horizon".into(), os: "horizon".into(),
vendor: "nintendo".into(),
max_atomic_width: Some(128), max_atomic_width: Some(128),
stack_probes: StackProbeType::Inline, stack_probes: StackProbeType::Inline,
panic_strategy: PanicStrategy::Abort, panic_strategy: PanicStrategy::Abort,