Skip to content

Commit

Permalink
Add comment about unused sdk versions
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Aug 22, 2023
1 parent f988cbb commit 2939e85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_target/src/spec/apple_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ pub fn opts(os: &'static str, arch: Arch) -> TargetOptions {
}

pub fn sdk_version(platform: u32) -> Option<(u32, u32)> {
// NOTE: These values are from an arbitrary point in time but shouldn't make it into the final
// binary since the final link command will have the current SDK version passed to it.
match platform {
object::macho::PLATFORM_MACOS => Some((13, 1)),
object::macho::PLATFORM_IOS
Expand Down

0 comments on commit 2939e85

Please sign in to comment.