mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-16 13:05:25 +03:00
tests: fix libc test with -Dno-matrix
This commit is contained in:
+3
-1
@@ -2465,7 +2465,9 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
||||
|
||||
if (options.test_only) |test_only| {
|
||||
const test_target: ModuleTestTarget = switch (test_only) {
|
||||
.default => module_test_targets[0],
|
||||
.default => .{
|
||||
.link_libc = if (std.mem.eql(u8, options.name, "libc")) true else null,
|
||||
},
|
||||
.fuzz => |optimize| .{
|
||||
.optimize_mode = optimize,
|
||||
.use_llvm = true,
|
||||
|
||||
Reference in New Issue
Block a user