📝 Update README with new Zig build commands
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user