Skip to content

Commit 288a615

Browse files
committed
Added target metadata
1 parent 72aeeaf commit 288a615

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ pub fn target() -> Target {
99
Target {
1010
llvm_target: visionos_llvm_target(arch).into(),
1111
metadata: crate::spec::TargetMetadata {
12-
description: None,
13-
tier: None,
14-
host_tools: None,
15-
std: None,
12+
description: Some("ARM64 Apple visionOS".into()),
13+
tier: Some(3),
14+
host_tools: Some(false),
15+
std: Some(false),
1616
},
1717
pointer_width: 64,
1818
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ pub fn target() -> Target {
99
Target {
1010
llvm_target: visionos_sim_llvm_target(arch).into(),
1111
metadata: crate::spec::TargetMetadata {
12-
description: None,
13-
tier: None,
14-
host_tools: None,
15-
std: None,
12+
description: Some("ARM64 Apple visionOS simulator".into()),
13+
tier: Some(3),
14+
host_tools: Some(false),
15+
std: Some(false),
1616
},
1717
pointer_width: 64,
1818
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),

0 commit comments

Comments
 (0)