aboutsummaryrefslogtreecommitdiff
path: root/functions/zig.sh
diff options
context:
space:
mode:
authorAlec Goncharow <alec@goncharow.dev>2024-01-04 20:28:09 -0500
committerAlec Goncharow <alec@goncharow.dev>2024-01-04 20:28:09 -0500
commit67d40a9139547bb61fe3aacb54491b6e40a3cab8 (patch)
tree3d0638be0d92ec4fc005119a51d8497f22492122 /functions/zig.sh
parentc3575e1f0448faf27d9d00042ed124028b82f26b (diff)
sync
Diffstat (limited to 'functions/zig.sh')
-rwxr-xr-xfunctions/zig.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions/zig.sh b/functions/zig.sh
index 49b437a..922b804 100755
--- a/functions/zig.sh
+++ b/functions/zig.sh
@@ -19,6 +19,14 @@ zr () {
zig build run "$@"
}
+zrf () {
+ zig build run -Doptimize=ReleaseFast "$@"
+}
+
+zrfs () {
+ zig build run -Doptimize=ReleaseFast --summary all "$@"
+}
+
zrs() {
zig build run "$@" --summary all
}