We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a97a444 commit bf6443fCopy full SHA for bf6443f
build.zig
@@ -10,11 +10,14 @@ pub fn build(b: *std.Build) !void {
10
"When building the SuperHTML CLI tool force a specific version, bypassing 'git describe'",
11
)) |v| .{ .commit = v } else getVersion(b);
12
13
- const scripty = b.dependency("scripty", .{});
14
-
15
const enable_tracy = b.option(bool, "tracy", "Enable Tracy profiling") orelse false;
16
17
const tracy = b.dependency("tracy", .{ .enable = enable_tracy });
+ const scripty = b.dependency("scripty", .{
+ .target = target,
18
+ .optimize = optimize,
19
+ .tracy = enable_tracy,
20
+ });
21
22
const superhtml = b.addModule("superhtml", .{
23
.root_source_file = b.path("src/root.zig"),
0 commit comments