delete @cImport from the language

closes #20630
This commit is contained in:
Andrew Kelley
2026-04-15 17:35:01 -07:00
parent 0dd99c37cc
commit 67a5b6e5e8
47 changed files with 67 additions and 844 deletions
-7
View File
@@ -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")