diff options
| author | Keith Smiley <keithbsmiley@gmail.com> | 2023-07-26 20:18:03 -0700 |
|---|---|---|
| committer | Keith Smiley <keithbsmiley@gmail.com> | 2023-08-21 13:31:57 -0700 |
| commit | d37fdc95d4558460f09e40e12ec83a0fc1779702 (patch) | |
| tree | 661722eda9516a5a5ca2ed4ab0e5bb22c92cb53c /compiler/rustc_interface/src | |
| parent | fe5f5912579d02c4e6088c89574493dfa988531a (diff) | |
| download | rust-d37fdc95d4558460f09e40e12ec83a0fc1779702.tar.gz rust-d37fdc95d4558460f09e40e12ec83a0fc1779702.zip | |
Always add LC_BUILD_VERSION for metadata object files
As of Xcode 15 Apple's linker has become a bit more strict about the warnings it produces. One of those new warnings requires all valid Mach-O object files in an archive to have a LC_BUILD_VERSION load command: ``` ld: warning: no platform load command found in 'ARCHIVE[arm64][2106](lib.rmeta)', assuming: iOS-simulator ``` This was already being done for Mac Catalyst so this change expands this logic to include it for all Apple platforms. I filed this behavior change as FB12546320 and was told it was the new intentional behavior.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
