| ... | ... | @@ -923,8 +923,11 @@ if(MSVC OR MINGW) |
| 923 | 923 | endif() |
| 924 | 924 | |
| 925 | 925 | |
| 926 | | # "-Dno-langref" and "-Dstd-docs=false" are hardcoded because they take too long to build. |
| 927 | | # To obtain these two forms of documentation, run zig build against stage3 rather than stage2. |
| 926 | # "-Dno-langref" is hardcoded because stage2 builds lack the `@cImport` |
| 927 | # feature, which some of the doctests rely on. |
| 928 | |
| 929 | # To obtain this document, run `zig build` against stage3 rather than stage2. |
| 930 | # Note that the `langref` step can be used to isolate this task. |
| 928 | 931 | set(ZIG_BUILD_ARGS |
| 929 | 932 | --zig-lib-dir "${PROJECT_SOURCE_DIR}/lib" |
| 930 | 933 | |
| ... | ... | @@ -936,7 +939,6 @@ set(ZIG_BUILD_ARGS |
| 936 | 939 | "-Dconfig_h=${ZIG_CONFIG_H_OUT}" |
| 937 | 940 | |
| 938 | 941 | -Dno-langref |
| 939 | | -Dstd-docs=false |
| 940 | 942 | ) |
| 941 | 943 | |
| 942 | 944 | if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") |