1
Fork 0

Add comment about unused sdk versions

This commit is contained in:
Keith Smiley 2023-08-22 08:55:41 -07:00
parent f988cbb065
commit 2939e8534a
No known key found for this signature in database
GPG key ID: 33BA60D44C7167F8

View file

@ -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