Skip to content

Commit 72aeeaf

Browse files
committed
Updated comments
1 parent fb09ddb commit 72aeeaf

File tree

2 files changed

+3
-3
lines changed
  • compiler/rustc_target/src/spec/base/apple
  • src/bootstrap/src/core/build_steps

2 files changed

+3
-3
lines changed

compiler/rustc_target/src/spec/base/apple/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pub fn sdk_version(platform: u32) -> Option<(u32, u32)> {
203203
| object::macho::PLATFORM_TVOSSIMULATOR
204204
| object::macho::PLATFORM_MACCATALYST => Some((16, 2)),
205205
object::macho::PLATFORM_WATCHOS | object::macho::PLATFORM_WATCHOSSIMULATOR => Some((9, 1)),
206-
// FIXME: Upgrade to yet unreleased `object-rs` implementation with visionos platform definition
206+
// FIXME: Upgrade to `object-rs` 0.33+ implementation with visionOS platform definition
207207
11 | 12 => Some((1, 0)),
208208
_ => None,
209209
}
@@ -219,7 +219,7 @@ pub fn platform(target: &Target) -> Option<u32> {
219219
("watchos", _) => object::macho::PLATFORM_WATCHOS,
220220
("tvos", "sim") => object::macho::PLATFORM_TVOSSIMULATOR,
221221
("tvos", _) => object::macho::PLATFORM_TVOS,
222-
// FIXME: Upgrade to yet unreleased `object-rs` implementation with visionos platform definition
222+
// FIXME: Upgrade to `object-rs` 0.33+ implementation with visionOS platform definition
223223
("visionos", "sim") => 12,
224224
("visionos", _) => 11,
225225
_ => return None,

src/bootstrap/src/core/build_steps/llvm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl Step for Llvm {
364364
cfg.define("LLVM_ENABLE_ZLIB", "OFF");
365365
}
366366

367-
// Are we compiling for iOS/tvOS/watchOS/visionos?
367+
// Are we compiling for iOS/tvOS/watchOS/visionOS?
368368
if target.contains("apple-ios")
369369
|| target.contains("apple-tvos")
370370
|| target.contains("apple-watchos")

0 commit comments

Comments
 (0)