ConfigHeader silently swallows invalid values #17263
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
error message
This issue points out an error message that is unhelpful and should be improved.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Zig Version
0.11.0
Steps to Reproduce and Observed Output
Make a folder with the following three files:
build.zig
:main.c
:config.h
:then run
zig build
.Expected Output
Either an error message saying a value was not present for replacement in the config header, or that additional values would be appended onto the end of the header using the same generator as
.blank
.The text was updated successfully, but these errors were encountered: