link-test: skip foreign checks in entry_in_archive MachO test

This commit is contained in:
Jakub Konka
2023-04-01 20:02:33 +02:00
parent a88c0b4d08
commit e0bf7b6424

View File

@@ -30,6 +30,7 @@ fn add(b: *std.Build, test_step: *std.Build.Step, optimize: std.builtin.Optimize
exe.linkLibC();
const run = exe.run();
run.skip_foreign_checks = true;
run.expectExitCode(0);
test_step.dependOn(&run.step);
}