Skip to content

Commit 40d7872

Browse files
authored
Rollup merge of #131169 - madsmtm:target-info-nto-vendor, r=wesleywiser
Fix `target_vendor` in QNX Neutrino targets The `x86_64-pc-nto-qnx710` and `i586-pc-nto-qnx700` targets have `pc` in their target triple names, but the vendor was set to the default `"unknown"`. CC target maintainers `@flba-eb,` `@gh-tr,` `@jonathanpallant` and `@japaric`
2 parents 9c73bcf + 7a3a98d commit 40d7872

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compiler/rustc_target/src/spec/targets/i586_pc_nto_qnx700.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub(crate) fn target() -> Target {
2121
"-Vgcc_ntox86_cxx",
2222
]),
2323
env: "nto70".into(),
24+
vendor: "pc".into(),
2425
stack_probes: StackProbeType::Inline,
2526
..base::nto_qnx::opts()
2627
},

compiler/rustc_target/src/spec/targets/x86_64_pc_nto_qnx710.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub(crate) fn target() -> Target {
2121
"-Vgcc_ntox86_64_cxx",
2222
]),
2323
env: "nto71".into(),
24+
vendor: "pc".into(),
2425
..base::nto_qnx::opts()
2526
},
2627
}

0 commit comments

Comments
 (0)