Skip to content

Commit

Permalink
zig: Stop interpolating bin
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Aug 1, 2024
1 parent 988a47a commit 798a39c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/z/zig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def install
try stdout.print("Hello, world!", .{});
}
EOS
system "#{bin}/zig", "build-exe", "hello.zig"
system bin/"zig", "build-exe", "hello.zig"
assert_equal "Hello, world!", shell_output("./hello")

# error: 'TARGET_OS_IPHONE' is not defined, evaluates to 0
Expand All @@ -80,7 +80,7 @@ def install
return 0;
}
EOS
system "#{bin}/zig", "cc", "hello.c", "-o", "hello"
system bin/"zig", "cc", "hello.c", "-o", "hello"
assert_equal "Hello, world!", shell_output("./hello")
end
end

0 comments on commit 798a39c

Please sign in to comment.