Prevent building examples when fetch

This commit is contained in:
adrien 2026-05-20 15:59:28 +02:00
parent 69f9cad2c1
commit 9c329a5a06

View File

@ -29,6 +29,7 @@ pub fn build(b: *std.Build) !void {
mod.linkSystemLibrary("gcc_s", .{});
}
if (b.pkg_hash.len == 0) {
var threaded: std.Io.Threaded = .init_single_threaded;
const io = threaded.io();
@ -57,3 +58,4 @@ pub fn build(b: *std.Build) !void {
run_step.dependOn(&run_cmd.step);
}
}
}