anvilsign in

collin/anvil · d894a14f

fix: raise fd soft limit in deploy build script

Collin Richards · 2026-06-09 22:23 UTC · d894a14ffce95a00a7ec141a4f1a6bca800ff7b1 · parent 5997c273 · browse files

modifieddeploy/build.sh+5 −0
⋯ 17 unchanged lines
1818
1919 cd "$(dirname "$0")/.."
2020
21+# macOS terminals default to a 256 open-file soft limit; zig's linker opens
22+# every rlib at once and dies with ProcessFdQuotaExceeded. Raise it for this
23+# process (children inherit it).
24+ulimit -n 4096 2>/dev/null || true
25+
2126 echo "==> cross-compiling anvild for $TARGET (native, via zig)"
2227 cargo zigbuild --release --target "$TARGET" --bin anvild
2328
⋯ 11 unchanged lines