Added target metadata

This commit is contained in:
Adam Gastineau 2024-04-03 07:08:28 -07:00
parent 72aeeaf480
commit 288a615ab7
2 changed files with 8 additions and 8 deletions

View File

@ -9,10 +9,10 @@ pub fn target() -> Target {
Target { Target {
llvm_target: visionos_llvm_target(arch).into(), llvm_target: visionos_llvm_target(arch).into(),
metadata: crate::spec::TargetMetadata { metadata: crate::spec::TargetMetadata {
description: None, description: Some("ARM64 Apple visionOS".into()),
tier: None, tier: Some(3),
host_tools: None, host_tools: Some(false),
std: None, std: Some(false),
}, },
pointer_width: 64, pointer_width: 64,
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(), data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),

View File

@ -9,10 +9,10 @@ pub fn target() -> Target {
Target { Target {
llvm_target: visionos_sim_llvm_target(arch).into(), llvm_target: visionos_sim_llvm_target(arch).into(),
metadata: crate::spec::TargetMetadata { metadata: crate::spec::TargetMetadata {
description: None, description: Some("ARM64 Apple visionOS simulator".into()),
tier: None, tier: Some(3),
host_tools: None, host_tools: Some(false),
std: None, std: Some(false),
}, },
pointer_width: 64, pointer_width: 64,
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(), data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".into(),