mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
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:
commit
cc61b81c6a
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user