📝 Update README with new Zig build commands

This commit is contained in:
2026-04-10 00:46:39 +08:00
parent 54fd3760c4
commit 963854697f

View File

@@ -21,12 +21,12 @@ Build:
Build small binary:
```
% zig build-exe hello.zig --release-small --strip --single-threaded
% zig build-exe hello.zig -O ReleaseSmall -fstrip -fsingle-threaded
```
Cross compile:
```
% zig build-exe hello.zig --release-small --strip --single-threaded -target x86_64-windows
% zig build-exe hello.zig -O ReleaseSmall -fstrip -fsingle-threaded -target x86_64-windows
```