Revert "cmake: Add a ZIG2_NO_RTLIB option for building zig2 without compiler-rt."

This reverts commit 3dd6456c0f.

We didn't end up using this after all.
This commit is contained in:
Alex Rønne Petersen 2024-10-29 02:02:44 +01:00
parent 5ce17ecfa7
commit b5cafe223a

View file

@ -830,11 +830,6 @@ else()
endif()
endif()
option(ZIG2_NO_RTLIB "Build zig2 without linking to a compiler runtime library (for `zig cc` only)" OFF)
if(ZIG2_NO_RTLIB)
set(ZIG2_LINK_FLAGS "${ZIG2_LINK_FLAGS} -rtlib=none")
endif()
set(ZIG1_WASM_MODULE "${PROJECT_SOURCE_DIR}/stage1/zig1.wasm")
set(ZIG1_C_SOURCE "${PROJECT_BINARY_DIR}/zig1.c")
set(ZIG2_C_SOURCE "${PROJECT_BINARY_DIR}/zig2.c")