mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
@@ -735,11 +735,6 @@ if(MSVC OR MINGW)
|
||||
endif()
|
||||
|
||||
|
||||
# "-Dno-langref" is hardcoded because stage2 builds lack the `@cImport`
|
||||
# feature, which some of the doctests rely on.
|
||||
|
||||
# To obtain this document, run `zig build` against stage3 rather than stage2.
|
||||
# Note that the `langref` step can be used to isolate this task.
|
||||
set(ZIG_BUILD_ARGS
|
||||
--zig-lib-dir "${PROJECT_SOURCE_DIR}/lib"
|
||||
|
||||
@@ -749,8 +744,6 @@ set(ZIG_BUILD_ARGS
|
||||
|
||||
-Denable-llvm
|
||||
"-Dconfig_h=${ZIG_CONFIG_H_OUT}"
|
||||
|
||||
-Dno-langref
|
||||
)
|
||||
|
||||
set(ZIG_EXTRA_BUILD_ARGS "" CACHE STRING "Extra zig build args")
|
||||
|
||||
Reference in New Issue
Block a user