We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31039f2 commit 1acf378Copy full SHA for 1acf378
src/lib.rs
@@ -2664,9 +2664,14 @@ impl Build {
2664
AppleArchSpec::Device(arch) => {
2665
cmd.args.push("-arch".into());
2666
cmd.args.push(arch.into());
2667
- cmd.args.push(
2668
- format!("-m{}os-version-min={}", sdk_details.sdk_prefix, min_version).into(),
2669
- );
+ // `-mxros-version-min` does not exist
+ // https://github.com/llvm/llvm-project/issues/88271
+ if os != AppleOs::VisionOS {
2670
+ cmd.args.push(
2671
+ format!("-m{}os-version-min={}", sdk_details.sdk_prefix, min_version)
2672
+ .into(),
2673
+ );
2674
+ }
2675
}
2676
AppleArchSpec::Simulator(arch) => {
2677
if arch.starts_with('-') {
0 commit comments