milestone 5: blocklist filtering, local records and conditional forwarding
This commit is contained in:
@@ -79,6 +79,24 @@ pub fn build(b: *std.Build) void {
|
||||
});
|
||||
test_step.dependOn(&b.addRunArtifact(fuzz_tests).step);
|
||||
|
||||
const parsers_mod = b.createModule(.{
|
||||
.root_source_file = b.path("src/filter/parsers.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
const blocklist_fuzz_mod = b.createModule(.{
|
||||
.root_source_file = b.path("tests/fuzz/blocklist_fuzz.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
blocklist_fuzz_mod.addImport("parsers", parsers_mod);
|
||||
const blocklist_fuzz_tests = b.addTest(.{
|
||||
.name = "blocklist-fuzz",
|
||||
.use_llvm = if (fuzz) true else null,
|
||||
.root_module = blocklist_fuzz_mod,
|
||||
});
|
||||
test_step.dependOn(&b.addRunArtifact(blocklist_fuzz_tests).step);
|
||||
|
||||
const cross = b.step("cross", "Build static musl executables for every deploy target");
|
||||
for (cross_targets) |triple| {
|
||||
const query = std.Target.Query.parse(.{ .arch_os_abi = triple }) catch |err| {
|
||||
|
||||
Reference in New Issue
Block a user