Skip to content

Instantly share code, notes, and snippets.

@alexnask
Last active January 29, 2022 21:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexnask/695f99febe92e2279227ce7a5a0ae276 to your computer and use it in GitHub Desktop.
Save alexnask/695f99febe92e2279227ce7a5a0ae276 to your computer and use it in GitHub Desktop.
usingnamespace @import("std").builtin;
pub const endian = Endian.Little;
pub const output_mode = OutputMode.Obj;
pub const link_mode = LinkMode.Static;
pub const is_test = false;
pub const single_threaded = false;
/// Deprecated: use `std.Target.cpu.arch`
pub const arch = Arch.x86_64;
pub const abi = Abi.gnu;
pub const cpu: Cpu = Cpu{
.arch = .x86_64,
.model = &Target.x86.cpu.ivybridge,
.features = Target.x86.featureSet(&[_]Target.x86.Feature{
.@"64bit",
.@"aes",
.@"avx",
.@"cmov",
.@"cx16",
.@"cx8",
.@"f16c",
.@"false_deps_popcnt",
.@"fast_scalar_fsqrt",
.@"fast_shld_rotate",
.@"fsgsbase",
.@"fxsr",
.@"idivq_to_divl",
.@"macrofusion",
.@"merge_to_threeway_branch",
.@"mmx",
.@"nopl",
.@"pclmul",
.@"popcnt",
.@"rdrnd",
.@"sahf",
.@"slow_3ops_lea",
.@"slow_unaligned_mem_32",
.@"sse",
.@"sse2",
.@"sse3",
.@"sse4_1",
.@"sse4_2",
.@"ssse3",
.@"x87",
.@"xsave",
.@"xsaveopt",
}),
};
pub const os = Os{
.tag = .linux,
.version_range = .{ .linux = .{
.range = .{
.min = .{
.major = 3,
.minor = 16,
.patch = 0,
},
.max = .{
.major = 5,
.minor = 5,
.patch = 5,
},
},
.glibc = .{
.major = 2,
.minor = 30,
.patch = 0,
},
}},
};
pub const object_format = ObjectFormat.elf;
pub const mode = Mode.Debug;
pub const link_libc = false;
pub const have_error_return_tracing = true;
pub const valgrind_support = true;
pub const position_independent_code = false;
pub const strip_debug_info = false;
pub const code_model = CodeModel.default;
{
"triple": "x86_64-linux.3.16...5.5.5-gnu.2.17",
"cpu": {
"arch": "x86_64",
"name": "x86_64",
"features": [
"64bit",
"cmov",
"cx8",
"fxsr",
"macrofusion",
"mmx",
"nopl",
"slow_3ops_lea",
"slow_incdec",
"sse",
"sse2",
"x87"
]
},
"os": "linux",
"abi": "gnu"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment