Commit e3b8aece4b

Alex Rønne Petersen <alex@alexrp.com>
2025-04-10 16:34:23
Revert "Allocate enough memory when building zig2"
This reverts commit 9356cb1475606a7afd2e722af60f87ce2b39f9f8. https://github.com/ziglang/zig/pull/20514#issuecomment-2774509823
1 parent 041eedc
Changed files (1)
CMakeLists.txt
@@ -1001,10 +1001,6 @@ if(NOT "${ZIG_TARGET_DYNAMIC_LINKER}" STREQUAL "")
   list(APPEND ZIG_BUILD_ARGS "-Ddynamic-linker=${ZIG_TARGET_DYNAMIC_LINKER}")
 endif()
 
-if(MINGW AND "${ZIG_HOST_TARGET_ARCH}" STREQUAL "x86")
-  list(APPEND ZIG_BUILD_ARGS --maxrss 7000000000)
-endif()
-
 
 add_custom_target(stage3 ALL
   DEPENDS "${PROJECT_BINARY_DIR}/stage3/bin/zig"