Skip to content

Commit

Permalink
mach: Add new Mach-O constants (#372)
Browse files Browse the repository at this point in the history
These 3 are all new with Xcode 15
  • Loading branch information
keith committed Jul 5, 2023
1 parent f66ef0e commit 17a5c7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mach/load_command.rs
Expand Up @@ -1343,9 +1343,12 @@ pub const PLATFORM_IOSSIMULATOR: u32 = 7;
pub const PLATFORM_TVOSSIMULATOR: u32 = 8;
pub const PLATFORM_WATCHOSSIMULATOR: u32 = 9;
pub const PLATFORM_DRIVERKIT: u32 = 10;
pub const PLATFORM_VISIONOS: u32 = 11;
pub const PLATFORM_VISIONOSSIMULATOR: u32 = 12;
pub const TOOL_CLANG: u32 = 1;
pub const TOOL_SWIFT: u32 = 2;
pub const TOOL_LD: u32 = 3;
pub const TOOL_LLD: u32 = 4;

pub fn cmd_to_str(cmd: u32) -> &'static str {
match cmd {
Expand Down

0 comments on commit 17a5c7c

Please sign in to comment.