extern structstd.macho.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_VERSION

LC_BUILD_VERSION

cmdsize: u32

sizeof(struct build_version_command) plus ntools * sizeof(struct build_version_command)

platform: PLATFORM

platform

minos: u32

X.Y.Z is encoded in nibbles xxxx.yy.zz

sdk: u32

X.Y.Z is encoded in nibbles xxxx.yy.zz

ntools: u32

number of tool entries following this

Source Code

Source code
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,
}