CMake-style ConfigHeader deletes last line of input file #16203
Labels
bug
Observed behavior contradicts documented or intended behavior
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Zig Version
0.11.0-dev.3803+7ad104227
Steps to Reproduce and Observed Behavior
Create a project with a
build.zig
andconfig.h.in
:build.zig
:config.h.in
:Then run
zig build
, yielding these outputs:zig-out/config-cmake.h
:zig-out/config-autoconf.h
:Expected Behavior
I would expect both generated config files to have the same effective contents.
The text was updated successfully, but these errors were encountered: