diff options
| author | Keith Smiley <keithbsmiley@gmail.com> | 2023-08-22 08:55:41 -0700 |
|---|---|---|
| committer | Keith Smiley <keithbsmiley@gmail.com> | 2023-08-22 08:55:51 -0700 |
| commit | 2939e8534aabcf5777a648a3d1c3d68953fdfa44 (patch) | |
| tree | 8e8ab78587339be0e51e0c184b224fd4446e7042 | |
| parent | f988cbb06515bf7daeb5ce3d7b11a57fe94bb0d3 (diff) | |
| download | rust-2939e8534aabcf5777a648a3d1c3d68953fdfa44.tar.gz rust-2939e8534aabcf5777a648a3d1c3d68953fdfa44.zip | |
Add comment about unused sdk versions
| -rw-r--r-- | compiler/rustc_target/src/spec/apple_base.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/apple_base.rs b/compiler/rustc_target/src/spec/apple_base.rs index 73ae0666fe8..f7dcec307dd 100644 --- a/compiler/rustc_target/src/spec/apple_base.rs +++ b/compiler/rustc_target/src/spec/apple_base.rs @@ -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 |
