pub fn getBuildVersionTools(lc: LoadCommand) []align(1) const build_tool_version lc: LoadCommand1974
1975
1976
1977
1978 pub fn getBuildVersionTools(lc: LoadCommand) []align(1) const build_tool_version {
const build_lc = lc.cast(build_version_command).?;
const tools_ptr: [*]align(1) const build_tool_version = @ptrCast(lc.data[@sizeOf(build_version_command)..]);
return tools_ptr[0..build_lc.ntools];
}
Asserts LoadCommand is of type build_version_command. If the native endian is not
.little, thebuild_tool_versionvalues must be byte-swapped by the caller.