mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
move zig.h to become an installation file
Now instead of zig.h being baked into the compiler binary, it is a header file distributed along with all the other header files distributed with Zig. Closes #11643
This commit is contained in:
parent
c6f5832bb6
commit
0527b441ae
@ -749,7 +749,6 @@ set(ZIG_STAGE2_SOURCES
|
||||
"${CMAKE_SOURCE_DIR}/src/libunwind.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/link.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/link/C.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/link/C/zig.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/link/Coff.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/link/Elf.zig"
|
||||
"${CMAKE_SOURCE_DIR}/src/link/MachO.zig"
|
||||
|
0
src/link/C/zig.h → lib/include/zig.h
vendored
0
src/link/C/zig.h → lib/include/zig.h
vendored
@ -15,7 +15,7 @@ const Air = @import("../Air.zig");
|
||||
const Liveness = @import("../Liveness.zig");
|
||||
|
||||
pub const base_tag: link.File.Tag = .c;
|
||||
pub const zig_h = @embedFile("C/zig.h");
|
||||
pub const zig_h = "#include <zig.h>\n";
|
||||
|
||||
base: link.File,
|
||||
/// This linker backend does not try to incrementally link output C source code.
|
||||
|
Loading…
Reference in New Issue
Block a user