0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/compiler
Andrew Kelley b490412cd2 build runner: fail, not warn when insufficient memory
Users can proceed by telling the build system how much memory to assume
the system has. I have improved the failure message to communicate this.

Partially reverts 87f8f47ba5

Even if we wanted to unrevert this reverted commit, it's not sufficient
to merely downgrade the failure to a warning, because the main
scheduling logic will fail to schedule steps that have a max_rss
exceeding the detected system value, causing some steps to never get
executed, eventually tripping an assert. Such a change would need to
also override the max_rss value to be equal to the greatest value across
all steps.

closes #31510
History 2026-03-27 18:06:08 +01:00
..
aro zig build fmt 2026-03-12 17:44:03 -04:00
reduce Remove legacy asm clobbers syntax handling 2025-11-27 20:16:03 +00:00
resinator std: update for language changes 2026-03-10 10:38:50 +00:00
translate-c zig build fmt 2026-03-12 17:44:03 -04:00
build_runner.zig build runner: fail, not warn when insufficient memory 2026-03-27 18:06:08 +01:00
libc.zig rename env_map to environ_map 2026-01-04 00:27:09 -08:00
objcopy.zig compiler: various lil' fixes 2026-03-10 10:26:14 +00:00
reduce.zig zig libc: fix subcommand 2026-01-04 00:27:08 -08:00
std-docs.zig Use / as path separator when writing tar files 2026-03-08 02:10:00 +01:00
test_runner.zig rerun fuzz tests from name instead of index 2026-03-11 21:19:22 -04:00
util.zig - aroDiagnosticsToErrorBundle: fixup not clearing notes after flushing the current error 2025-10-09 13:34:25 -04:00