Add missing visionOS target metadata

This commit is contained in:
Adam Gastineau 2024-03-19 05:27:54 -07:00
parent 11ea14e9b9
commit 51777dc812
2 changed files with 12 additions and 2 deletions

View File

@ -8,7 +8,12 @@ pub fn target() -> Target {
Target {
llvm_target: visionos_llvm_target(arch).into(),
metadata: crate::spec::TargetMetadata {
description: None,
tier: None,
host_tools: None,
std: None,
},
pointer_width: 64,
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
arch: arch.target_arch(),

View File

@ -8,7 +8,12 @@ pub fn target() -> Target {
Target {
llvm_target: visionos_sim_llvm_target(arch).into(),
metadata: crate::spec::TargetMetadata {
description: None,
tier: None,
host_tools: None,
std: None,
},
pointer_width: 64,
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
arch: arch.target_arch(),