extern struct build_version_command [src]

The build_version_command contains the min OS version on which this binary was built to run for its platform. The list of known platforms and tool values following it.

Fields

cmd: LC = .BUILD_VERSIONLC_BUILD_VERSION
cmdsize: u32sizeof(struct build_version_command) plus ntools * sizeof(struct build_version_command)
platform: PLATFORMplatform
minos: u32X.Y.Z is encoded in nibbles xxxx.yy.zz
sdk: u32X.Y.Z is encoded in nibbles xxxx.yy.zz
ntools: u32number of tool entries following this

Source

pub const build_version_command = extern struct { /// LC_BUILD_VERSION cmd: LC = .BUILD_VERSION, /// sizeof(struct build_version_command) plus /// ntools * sizeof(struct build_version_command) cmdsize: u32, /// platform platform: PLATFORM, /// X.Y.Z is encoded in nibbles xxxx.yy.zz minos: u32, /// X.Y.Z is encoded in nibbles xxxx.yy.zz sdk: u32, /// number of tool entries following this ntools: u32, }