mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
The Mach-O header flags gained two new members at some point, and these are missing in the Zig std library. This PR adds these.
The macOS libc header is already up-to-date: 130fb5cb0f/lib/libc/include/any-macos-any/mach-o/loader.h (L232-L241)
This commit is contained in:
parent
d06e5b4349
commit
3adfaf91f7
1 changed files with 6 additions and 0 deletions
|
|
@ -1230,6 +1230,12 @@ pub const MH_APP_EXTENSION_SAFE = 0x02000000;
|
|||
/// The external symbols listed in the nlist symbol table do not include all the symbols listed in the dyld info.
|
||||
pub const MH_NLIST_OUTOFSYNC_WITH_DYLDINFO = 0x04000000;
|
||||
|
||||
/// Allow LC_MIN_VERSION_MACOS and LC_BUILD_VERSION load commands with the platforms macOS, iOSMac, iOSSimulator, tvOSSimulator and watchOSSimulator.
|
||||
pub const MH_SIM_SUPPORT = 0x08000000;
|
||||
|
||||
/// Only for use on dylibs. When this bit is set, the dylib is part of the dyld shared cache, rather than loose in the filesystem.
|
||||
pub const MH_DYLIB_IN_CACHE = 0x80000000;
|
||||
|
||||
// Constants for the flags field of the fat_header
|
||||
|
||||
/// the fat magic number
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue