Skip to content

Commit

Permalink
no gcc for now, doesn't work with mingw?
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed May 21, 2024
1 parent 1faa494 commit 7d812bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Build = std.Build;
pub fn build(b: *Build) void {
const validation_step = b.step("validate", "Runs the test suite and validates everything. Automatically triggered in Debug builds.");

const maybe_gcc = b.findProgram(&.{"gcc"}, &.{}) catch null;
//const maybe_gcc = b.findProgram(&.{"gcc"}, &.{}) catch null;
const maybe_clang = b.findProgram(&.{"clang"}, &.{}) catch null;

// Compile for huge amount of targets to detect breakage early on:
Expand Down Expand Up @@ -45,7 +45,7 @@ pub fn build(b: *Build) void {
}

// use the host C compilers to validate our code:
for ([_]?[]const u8{ maybe_gcc, maybe_clang }) |maybe_cc| {
for ([_]?[]const u8{maybe_clang}) |maybe_cc| {
const cc = maybe_cc orelse continue;

const ext_compiler = b.addSystemCommand(&.{cc});
Expand Down

0 comments on commit 7d812bb

Please sign in to comment.