mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
enable passing build-[lib|exe|obj] params via @args.rsp file
This change enables `zig build-lib` and friends to take a response file of command line arguments, for example: ```sh zig build-lib @args.rsp ``` Which effectively does the same thing as this in Bash: ```sh zig build-lib $(cat args.rsp) ``` Being able to use a file for arguments is important as one can quickly exceed the 32 KiB limit that Windows imposes on arguments to a process. Helps #10693 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0778f644b5
commit
e41d4df93c
1 changed files with 54 additions and 38 deletions
92
src/main.zig
92
src/main.zig
Loading…
Add table
Add a link
Reference in a new issue