From c19657d65c810ed19a934d7a854564d111eb222e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 6 Mar 2024 23:32:41 -0700 Subject: [PATCH] cmake: remove -Dno-autodocs this is now the default --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63d331f51d..38446705fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -907,8 +907,6 @@ else() endif() # -Dno-langref is currently hardcoded because building the langref takes too damn long -# -Dno-autodocs is currently hardcoded because the C backend generates a miscompilation -# that prevents it from working. # To obtain these two forms of documentation, run zig build against stage3 rather than stage2. set(ZIG_BUILD_ARGS --zig-lib-dir "${CMAKE_SOURCE_DIR}/lib" @@ -918,7 +916,6 @@ set(ZIG_BUILD_ARGS ${ZIG_STATIC_ARG} ${ZIG_NO_LIB_ARG} "-Dno-langref" - "-Dno-autodocs" ${ZIG_SINGLE_THREADED_ARG} ${ZIG_PIE_ARG} "-Dtarget=${ZIG_TARGET_TRIPLE}"