2020.13. more days setup for that year too
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
const std = @import("std");
|
||||
/// Zig version. When writing code that supports multiple versions of Zig, prefer
|
||||
/// feature detection (i.e. with `@hasDecl` or `@hasField`) over version checks.
|
||||
pub const zig_version = std.SemanticVersion.parse("0.9.1") catch unreachable;
|
||||
/// Temporary until self-hosted is feature complete.
|
||||
pub const zig_is_stage2 = false;
|
||||
/// Temporary until self-hosted supports the `cpu.arch` value.
|
||||
pub const stage2_arch: std.Target.Cpu.Arch = .x86_64;
|
||||
/// Temporary until self-hosted can call `std.Target.x86.featureSetHas` at comptime.
|
||||
pub const stage2_x86_cx16 = true;
|
||||
|
||||
pub const output_mode = std.builtin.OutputMode.Exe;
|
||||
pub const link_mode = std.builtin.LinkMode.Static;
|
||||
pub const is_test = true;
|
||||
pub const single_threaded = false;
|
||||
pub const abi = std.Target.Abi.gnu;
|
||||
pub const cpu: std.Target.Cpu = .{
|
||||
.arch = .x86_64,
|
||||
.model = &std.Target.x86.cpu.znver2,
|
||||
.features = std.Target.x86.featureSet(&[_]std.Target.x86.Feature{
|
||||
.@"64bit",
|
||||
.adx,
|
||||
.aes,
|
||||
.avx,
|
||||
.avx2,
|
||||
.bmi,
|
||||
.bmi2,
|
||||
.branchfusion,
|
||||
.clflushopt,
|
||||
.clwb,
|
||||
.clzero,
|
||||
.cmov,
|
||||
.cx16,
|
||||
.cx8,
|
||||
.f16c,
|
||||
.fast_15bytenop,
|
||||
.fast_bextr,
|
||||
.fast_lzcnt,
|
||||
.fast_movbe,
|
||||
.fast_scalar_shift_masks,
|
||||
.fma,
|
||||
.fsgsbase,
|
||||
.fxsr,
|
||||
.lzcnt,
|
||||
.mmx,
|
||||
.movbe,
|
||||
.mwaitx,
|
||||
.nopl,
|
||||
.pclmul,
|
||||
.popcnt,
|
||||
.prfchw,
|
||||
.rdpid,
|
||||
.rdrnd,
|
||||
.rdseed,
|
||||
.sahf,
|
||||
.sha,
|
||||
.slow_shld,
|
||||
.sse,
|
||||
.sse2,
|
||||
.sse3,
|
||||
.sse4_1,
|
||||
.sse4_2,
|
||||
.sse4a,
|
||||
.ssse3,
|
||||
.vzeroupper,
|
||||
.wbnoinvd,
|
||||
.x87,
|
||||
.xsave,
|
||||
.xsavec,
|
||||
.xsaveopt,
|
||||
.xsaves,
|
||||
}),
|
||||
};
|
||||
pub const os = std.Target.Os{
|
||||
.tag = .linux,
|
||||
.version_range = .{ .linux = .{
|
||||
.range = .{
|
||||
.min = .{
|
||||
.major = 5,
|
||||
.minor = 15,
|
||||
.patch = 48,
|
||||
},
|
||||
.max = .{
|
||||
.major = 5,
|
||||
.minor = 15,
|
||||
.patch = 48,
|
||||
},
|
||||
},
|
||||
.glibc = .{
|
||||
.major = 2,
|
||||
.minor = 19,
|
||||
.patch = 0,
|
||||
},
|
||||
}},
|
||||
};
|
||||
pub const target = std.Target{
|
||||
.cpu = cpu,
|
||||
.os = os,
|
||||
.abi = abi,
|
||||
};
|
||||
pub const object_format = std.Target.ObjectFormat.elf;
|
||||
pub const mode = std.builtin.Mode.Debug;
|
||||
pub const link_libc = false;
|
||||
pub const link_libcpp = false;
|
||||
pub const have_error_return_tracing = true;
|
||||
pub const valgrind_support = true;
|
||||
pub const position_independent_code = false;
|
||||
pub const position_independent_executable = false;
|
||||
pub const strip_debug_info = false;
|
||||
pub const code_model = std.builtin.CodeModel.default;
|
||||
pub var test_functions: []std.builtin.TestFn = undefined; // overwritten later
|
||||
pub const test_io_mode = .blocking;
|
||||
@@ -0,0 +1 @@
|
||||
d4b0dcfc8f393265d7d5fdf515cc7c6400
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,112 @@
|
||||
const std = @import("std");
|
||||
/// Zig version. When writing code that supports multiple versions of Zig, prefer
|
||||
/// feature detection (i.e. with `@hasDecl` or `@hasField`) over version checks.
|
||||
pub const zig_version = std.SemanticVersion.parse("0.9.1") catch unreachable;
|
||||
/// Temporary until self-hosted is feature complete.
|
||||
pub const zig_is_stage2 = false;
|
||||
/// Temporary until self-hosted supports the `cpu.arch` value.
|
||||
pub const stage2_arch: std.Target.Cpu.Arch = .x86_64;
|
||||
/// Temporary until self-hosted can call `std.Target.x86.featureSetHas` at comptime.
|
||||
pub const stage2_x86_cx16 = true;
|
||||
|
||||
pub const output_mode = std.builtin.OutputMode.Exe;
|
||||
pub const link_mode = std.builtin.LinkMode.Static;
|
||||
pub const is_test = true;
|
||||
pub const single_threaded = false;
|
||||
pub const abi = std.Target.Abi.gnu;
|
||||
pub const cpu: std.Target.Cpu = .{
|
||||
.arch = .x86_64,
|
||||
.model = &std.Target.x86.cpu.znver2,
|
||||
.features = std.Target.x86.featureSet(&[_]std.Target.x86.Feature{
|
||||
.@"64bit",
|
||||
.adx,
|
||||
.aes,
|
||||
.avx,
|
||||
.avx2,
|
||||
.bmi,
|
||||
.bmi2,
|
||||
.branchfusion,
|
||||
.clflushopt,
|
||||
.clwb,
|
||||
.clzero,
|
||||
.cmov,
|
||||
.cx16,
|
||||
.cx8,
|
||||
.f16c,
|
||||
.fast_15bytenop,
|
||||
.fast_bextr,
|
||||
.fast_lzcnt,
|
||||
.fast_movbe,
|
||||
.fast_scalar_shift_masks,
|
||||
.fma,
|
||||
.fsgsbase,
|
||||
.fxsr,
|
||||
.lzcnt,
|
||||
.mmx,
|
||||
.movbe,
|
||||
.mwaitx,
|
||||
.nopl,
|
||||
.pclmul,
|
||||
.popcnt,
|
||||
.prfchw,
|
||||
.rdpid,
|
||||
.rdrnd,
|
||||
.rdseed,
|
||||
.sahf,
|
||||
.sha,
|
||||
.slow_shld,
|
||||
.sse,
|
||||
.sse2,
|
||||
.sse3,
|
||||
.sse4_1,
|
||||
.sse4_2,
|
||||
.sse4a,
|
||||
.ssse3,
|
||||
.vzeroupper,
|
||||
.wbnoinvd,
|
||||
.x87,
|
||||
.xsave,
|
||||
.xsavec,
|
||||
.xsaveopt,
|
||||
.xsaves,
|
||||
}),
|
||||
};
|
||||
pub const os = std.Target.Os{
|
||||
.tag = .linux,
|
||||
.version_range = .{ .linux = .{
|
||||
.range = .{
|
||||
.min = .{
|
||||
.major = 5,
|
||||
.minor = 15,
|
||||
.patch = 48,
|
||||
},
|
||||
.max = .{
|
||||
.major = 5,
|
||||
.minor = 15,
|
||||
.patch = 48,
|
||||
},
|
||||
},
|
||||
.glibc = .{
|
||||
.major = 2,
|
||||
.minor = 19,
|
||||
.patch = 0,
|
||||
},
|
||||
}},
|
||||
};
|
||||
pub const target = std.Target{
|
||||
.cpu = cpu,
|
||||
.os = os,
|
||||
.abi = abi,
|
||||
};
|
||||
pub const object_format = std.Target.ObjectFormat.elf;
|
||||
pub const mode = std.builtin.Mode.Debug;
|
||||
pub const link_libc = false;
|
||||
pub const link_libcpp = false;
|
||||
pub const have_error_return_tracing = true;
|
||||
pub const valgrind_support = true;
|
||||
pub const position_independent_code = false;
|
||||
pub const position_independent_executable = false;
|
||||
pub const strip_debug_info = false;
|
||||
pub const code_model = std.builtin.CodeModel.default;
|
||||
pub var test_functions: []std.builtin.TestFn = undefined; // overwritten later
|
||||
pub const test_io_mode = .blocking;
|
||||
Reference in New Issue
Block a user