about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/targets
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2024-10-02 19:30:55 +0200
committerMads Marquart <mads@marquart.dk>2024-10-02 19:30:55 +0200
commit746c3225925ee44b37c1665617ada24c8b173b20 (patch)
tree1a734292e7f66fcaec74d031d64e02a66372e5e4 /compiler/rustc_target/src/spec/targets
parent612796c42077605fdd3c6f7dda05745d8f4dc4d8 (diff)
downloadrust-746c3225925ee44b37c1665617ada24c8b173b20.tar.gz
rust-746c3225925ee44b37c1665617ada24c8b173b20.zip
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.
Diffstat (limited to 'compiler/rustc_target/src/spec/targets')
-rw-r--r--compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs b/compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs
index d6d49a4a070..1f1cd966326 100644
--- a/compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs
+++ b/compiler/rustc_target/src/spec/targets/aarch64_nintendo_switch_freestanding.rs
@@ -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,