mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
x86_64: fix ~/! miscomps
This commit is contained in:
parent
d79b3cc134
commit
a744fbd22f
2 changed files with 638 additions and 123 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -5,6 +5,7 @@ pub fn build(b: *std.Build) void {
|
||||||
"test-filter",
|
"test-filter",
|
||||||
"Skip tests that do not match any filter",
|
"Skip tests that do not match any filter",
|
||||||
) orelse &[0][]const u8{};
|
) orelse &[0][]const u8{};
|
||||||
|
const strip = b.option(bool, "strip", "Omit debug information");
|
||||||
|
|
||||||
const compiler_rt_lib = b.addLibrary(.{
|
const compiler_rt_lib = b.addLibrary(.{
|
||||||
.linkage = .static,
|
.linkage = .static,
|
||||||
|
|
@ -171,6 +172,7 @@ pub fn build(b: *std.Build) void {
|
||||||
const test_mod = b.createModule(.{
|
const test_mod = b.createModule(.{
|
||||||
.root_source_file = b.path(path),
|
.root_source_file = b.path(path),
|
||||||
.target = target,
|
.target = target,
|
||||||
|
.strip = strip,
|
||||||
});
|
});
|
||||||
const test_exe = b.addTest(.{
|
const test_exe = b.addTest(.{
|
||||||
.name = std.fs.path.stem(path),
|
.name = std.fs.path.stem(path),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue