1
Fork 0

Mark visionOS as supporting std

Cargo's -Zbuild-std has recently started checking this field, which
causes it to fail to compile even though we have full support for the
standard library on these targets.
This commit is contained in:
Mads Marquart 2024-11-28 13:53:38 +01:00
parent c1cfab230e
commit 9b6dfdd2ab
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ pub(crate) fn target() -> Target {
description: Some("ARM64 Apple visionOS".into()),
tier: Some(3),
host_tools: Some(false),
std: Some(false),
std: Some(true),
},
pointer_width: 64,
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32"

View file

@ -9,7 +9,7 @@ pub(crate) fn target() -> Target {
description: Some("ARM64 Apple visionOS simulator".into()),
tier: Some(3),
host_tools: Some(false),
std: Some(false),
std: Some(true),
},
pointer_width: 64,
data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32"