Remove comment header from generated output of Build.ConfigHeader #19272
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Zig Version
0.12.0-dev.3161+377ecc6af
Steps to Reproduce and Observed Behavior
When using b.addConfigHeader() in build.zig, a C or ASM comment is forcefully prepended in the generated output file ; from ConfigHeader.zig:
I use ConfigHeader with an existing lua.in file to generate a Lua file, as I'm migrating from CMake to build.zig, and in Lua /* */ or ; comments are invalid. Can you add an option to customize and remove this automatically added comment ?
Expected Behavior
I would like no extra text added to the generated file of ConfigHeader.
The text was updated successfully, but these errors were encountered: