aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-31 18:24:59 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-09-01 17:54:07 -0700
commitf8dd4b13d6fe428265229fc1e31c2f8b0cd373b1 (patch)
treeee97556c506b09e566b8d0db2329e9556fb5a768 /src/main.zig
parent057f0fec33c4e54e87383d1181e946d3cddbc4c0 (diff)
downloadzig-f8dd4b13d6fe428265229fc1e31c2f8b0cd373b1.tar.gz
zig-f8dd4b13d6fe428265229fc1e31c2f8b0cd373b1.zip
std.os reorg: more fixes caught by CI
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 0e075ff40f..d58c3525c5 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -3828,7 +3828,7 @@ fn parseCodeModel(arg: []const u8) std.builtin.CodeModel {
/// garbage collector to run concurrently to zig processes, and to allow multiple
/// zig processes to run concurrently with each other, without clobbering each other.
fn gimmeMoreOfThoseSweetSweetFileDescriptors() void {
- if (!@hasDecl(std.os, "rlimit")) return;
+ if (!@hasDecl(std.os.system, "rlimit")) return;
const posix = std.os;
var lim = posix.getrlimit(.NOFILE) catch return; // Oh well; we tried.