piston/packages/zig/0.9.1/compile

7 lines
193 B
Plaintext
Raw Normal View History

2022-09-14 17:01:55 +02:00
#!/usr/bin/env bash
# optimizing for small programs
rename 's/$/\.zig/' "$@" # Add .zig extension
zig build-exe -O ReleaseSafe --color off --cache-dir . --global-cache-dir . --name out *.zig