We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 848e8ee commit 7b60a8bCopy full SHA for 7b60a8b
1 file changed
build.zig
@@ -170,7 +170,8 @@ pub fn build(b: *std.Build) void {
170
.name = "qjsc-host",
171
.root_module = b.createModule(.{
172
.target = b.graph.host,
173
- .optimize = .Debug,
+ // https://github.com/allyourcodebase/quickjs/issues/1
174
+ .optimize = if (b.graph.host.result.os.tag == .windows) .ReleaseFast else .Debug,
175
}),
176
});
177
0 commit comments