File tree 2 files changed +5
-5
lines changed
compiler/rustc_target/src/spec/base/apple
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,6 @@ strip = true
118
118
rustc-std-workspace-core = { path = ' library/rustc-std-workspace-core' }
119
119
rustc-std-workspace-alloc = { path = ' library/rustc-std-workspace-alloc' }
120
120
rustc-std-workspace-std = { path = ' library/rustc-std-workspace-std' }
121
- libc = { path = ' ../libc' }
122
- object = { path = ' ../object' }
123
121
124
122
[patch ."https://github .com/rust-lang/rust-clippy" ]
125
123
clippy_lints = { path = " src/tools/clippy/clippy_lints" }
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ pub fn sdk_version(platform: u32) -> Option<(u32, u32)> {
203
203
| object:: macho:: PLATFORM_TVOSSIMULATOR
204
204
| object:: macho:: PLATFORM_MACCATALYST => Some ( ( 16 , 2 ) ) ,
205
205
object:: macho:: PLATFORM_WATCHOS | object:: macho:: PLATFORM_WATCHOSSIMULATOR => Some ( ( 9 , 1 ) ) ,
206
- object:: macho:: PLATFORM_XROS | object:: macho:: PLATFORM_XROSSIMULATOR => Some ( ( 1 , 0 ) ) ,
206
+ // TODO: Upgrade to yet unreleased `object-rs` implementation with xrOS platform definition
207
+ 11 | 12 => Some ( ( 1 , 0 ) ) ,
207
208
_ => None ,
208
209
}
209
210
}
@@ -218,8 +219,9 @@ pub fn platform(target: &Target) -> Option<u32> {
218
219
( "watchos" , _) => object:: macho:: PLATFORM_WATCHOS ,
219
220
( "tvos" , "sim" ) => object:: macho:: PLATFORM_TVOSSIMULATOR ,
220
221
( "tvos" , _) => object:: macho:: PLATFORM_TVOS ,
221
- ( "xros" , "sim" ) => object:: macho:: PLATFORM_XROSSIMULATOR ,
222
- ( "xros" , _) => object:: macho:: PLATFORM_XROS ,
222
+ // TODO: Upgrade to yet unreleased `object-rs` implementation with xrOS platform definition
223
+ ( "xros" , "sim" ) => 12 ,
224
+ ( "xros" , _) => 11 ,
223
225
_ => return None ,
224
226
} )
225
227
}
You can’t perform that action at this time.
0 commit comments