mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 05:20:34 +00:00
parent
87819dba27
commit
d31be31267
@ -12,9 +12,15 @@ fn isRunnableTarget(t: CrossTarget) bool {
|
||||
}
|
||||
|
||||
pub fn build(b: *Builder) void {
|
||||
const mode = b.standardReleaseOptions();
|
||||
var mode = b.standardReleaseOptions();
|
||||
const target = b.standardTargetOptions(.{});
|
||||
|
||||
if (mode != .Debug and target.getAbi().isMusl()) {
|
||||
// https://github.com/ziglang/zig/issues/12828
|
||||
std.debug.print("warn: skipping musl libc++ test that regressed with LLVM 15\n", .{});
|
||||
mode = .Debug;
|
||||
}
|
||||
|
||||
const test_step = b.step("test", "Test the program");
|
||||
|
||||
const exe_c = b.addExecutable("test_c", null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user