aboutsummaryrefslogtreecommitdiff
path: root/test/standalone/stack_iterator
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-09-22 05:04:31 +0200
committerGitHub <noreply@github.com>2025-09-22 05:04:31 +0200
commit26825e95066c104585d248787c0e56ce4e8413e0 (patch)
treeca505fa2a5cc4a4eff3b66b8e35977bb12940ec9 /test/standalone/stack_iterator
parentf58200e3f2967a06f343c9fc9dcae9de18def92a (diff)
parent16c18b835e16bae7a0f85caa29457f4ae4b7b417 (diff)
downloadzig-26825e95066c104585d248787c0e56ce4e8413e0.tar.gz
zig-26825e95066c104585d248787c0e56ce4e8413e0.zip
Merge pull request #25324 from alexrp/freebsd
Some changes to prepare for FreeBSD CI
Diffstat (limited to 'test/standalone/stack_iterator')
-rw-r--r--test/standalone/stack_iterator/build.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/standalone/stack_iterator/build.zig b/test/standalone/stack_iterator/build.zig
index 8d2c448215..b6ac2a9aee 100644
--- a/test/standalone/stack_iterator/build.zig
+++ b/test/standalone/stack_iterator/build.zig
@@ -61,8 +61,12 @@ pub fn build(b: *std.Build) void {
.use_llvm = true,
});
- const run_cmd = b.addRunArtifact(exe);
- test_step.dependOn(&run_cmd.step);
+ if (builtin.os.tag != .freebsd) {
+ const run_cmd = b.addRunArtifact(exe);
+ test_step.dependOn(&run_cmd.step);
+ } else {
+ test_step.dependOn(&exe.step);
+ }
}
// https://github.com/ziglang/zig/issues/24522