diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-16 20:18:06 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-16 20:18:06 -0700 |
| commit | 01a7affb87f74e33e674891d77d4b720d3014013 (patch) | |
| tree | dbaaff1962b0db60e3c45f8d061075551294b374 /src/link.cpp | |
| parent | 07eb2c65f6ee3d2ea81a59f776689b1d919d3280 (diff) | |
| download | zig-01a7affb87f74e33e674891d77d4b720d3014013.tar.gz zig-01a7affb87f74e33e674891d77d4b720d3014013.zip | |
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).
Diffstat (limited to 'src/link.cpp')
0 files changed, 0 insertions, 0 deletions
