# enable passing build\-\[lib\|exe\|obj\] params via @args.rsp file · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e41d4df93cf78b7ecccd959472dc653dc089f8aa)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e41d4df93cf78b7ecccd959472dc653dc089f8aa

Requested commit: e41d4df93cf78b7ecccd959472dc653dc089f8aa

Commit: e41d4df93cf78b7ecccd959472dc653dc089f8aa

Tree: cd41631cf1883ba5915e22a4e3fd634115afe97b

Author: Stephen Gutekanst

Committer: Stephen Gutekanst

## Message

````
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>

````

## Parents

- [0778f644b519a83e95848d05d5a9e6241f8f41f3](https://git.cafe/gitcafe/zig/commit/0778f644b519a83e95848d05d5a9e6241f8f41f3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e41d4df93cf78b7ecccd959472dc653dc089f8aa?format=markdown)
