# stage2: ask for a higher open fd limit · gitcafe/zig

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

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

Visibility: public

Requested revision: 01a7affb87f74e33e674891d77d4b720d3014013

Requested commit: 01a7affb87f74e33e674891d77d4b720d3014013

Commit: 01a7affb87f74e33e674891d77d4b720d3014013

Tree: dbaaff1962b0db60e3c45f8d061075551294b374

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: ask for a higher open fd limit

Here's the doc comment from the commit:

For one example of why this is handy, consider the case of building musl libc.
We keep a lock open for each of the object files in the form of a file descriptor
until they are finally put into an archive file. This is to allow a zig-cache
garbage collector to run concurrently to zig processes, and to allow multiple
zig processes to run concurrently with each other, without clobbering each other.

This code is disabled until #6361 is implemented (getrlimit/setrlimit
are not yet added to the standard library).

```

## Parents

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

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