Skip to content

Commit 25f9c7e

Browse files
authored
Unrolled build for rust-lang#138426
Rollup merge of rust-lang#138426 - madsmtm:vita-llvm-target, r=jieyouxu Fix `armv7-sony-vita-newlibeabihf` LLVM target triple It was previously normalized by LLVM to `thumbv7a-vita-unknown-eabihf` (can be seen with `clang -target thumbv7a-vita-eabihf -v`), which seems wrong, as Vita is the OS name. Motivation: To make it easier to verify that [`cc-rs`' conversion from `rustc` to Clang/LLVM triples](rust-lang/cc-rs#1431) is correct. CC target maintainers ``@nikarh,`` ``@pheki`` and ``@ZetaNumbers.`` r? jieyouxu
2 parents 0b45675 + 65bd61d commit 25f9c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
1515
);
1616

1717
Target {
18-
llvm_target: "thumbv7a-vita-eabihf".into(),
18+
llvm_target: "thumbv7a-sony-vita-eabihf".into(),
1919
metadata: TargetMetadata {
2020
description: Some(
2121
"Armv7-A Cortex-A9 Sony PlayStation Vita (requires VITASDK toolchain)".into(),

0 commit comments

Comments
 (0)