We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34af03e commit f3a532eCopy full SHA for f3a532e
build.zig
@@ -258,8 +258,10 @@ pub fn build(b: *std.Build) void {
258
259
const benchmark = b.addExecutable(.{
260
.name = "benchmark",
261
- .target = target,
262
- .optimize = optimize,
+ .root_module = b.createModule(.{
+ .target = target,
263
+ .optimize = optimize,
264
+ }),
265
});
266
if (char_type != .char) benchmark.root_module.addCMacro("XML_UNICODE", "1");
267
if (char_type == .wchar_t) benchmark.root_module.addCMacro("XML_UNICODE_WCHAR_T", "1");
0 commit comments