Skip to content

Commit c7b8d18

Browse files
authored
Unrolled build for #146034
Rollup merge of #146034 - taiki-e:target-spec, r=nnethercote Update target spec metadata of Arm64EC Windows and Trusty targets Update outdated target spec metadata in the following targets. - Arm64EC Windows (`arm64ec-pc-windows-msvc`) is "tier 2 without host tools" since #126039 and supports `std` since before that, but metadata currently says that is tier 3 and has unknown `std` support status. - Trusty targets (`{aarch64,armv7,x86_64}-unknown-trusty`) support `std` since #136842 (and I confirmed they can be compiled with `-Zbuild-std=std`), but metadata currently says that has no `std` support. Mentioning `@dpaoliello` as [arm64ec-pc-windows-msvc target-maintainer](https://doc.rust-lang.org/nightly/rustc/platform-support/arm64ec-pc-windows-msvc.html#target-maintainers). Mentioning `@randomPoison` `@ahomescu` as [Trusty target maintainers](https://doc.rust-lang.org/nightly/rustc/platform-support/trusty.html#target-maintainers).
2 parents a2c8b0b + ddf1b3e commit c7b8d18

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub(crate) fn target() -> Target {
1111
description: Some("ARM64 Trusty".into()),
1212
tier: Some(3),
1313
host_tools: Some(false),
14-
std: Some(false),
14+
std: Some(true),
1515
},
1616
pointer_width: 64,
1717
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32".into(),

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ pub(crate) fn target() -> Target {
2020
llvm_target: "arm64ec-pc-windows-msvc".into(),
2121
metadata: TargetMetadata {
2222
description: Some("Arm64EC Windows MSVC".into()),
23-
tier: Some(3),
23+
tier: Some(2),
2424
host_tools: Some(false),
25-
std: None, // ?
25+
std: Some(true),
2626
},
2727
pointer_width: 64,
2828
data_layout:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub(crate) fn target() -> Target {
1313
description: Some("Armv7-A Trusty".into()),
1414
tier: Some(3),
1515
host_tools: Some(false),
16-
std: Some(false),
16+
std: Some(true),
1717
},
1818
pointer_width: 32,
1919
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub(crate) fn target() -> Target {
1212
description: Some("x86_64 Trusty".into()),
1313
tier: Some(3),
1414
host_tools: Some(false),
15-
std: Some(false),
15+
std: Some(true),
1616
},
1717
pointer_width: 64,
1818
data_layout:

0 commit comments

Comments
 (0)