diff --git a/build.zig b/build.zig index b9bf165..58653ca 100644 --- a/build.zig +++ b/build.zig @@ -85,6 +85,9 @@ pub fn build(b: *std.Build) void { .link_libc = true, }); tests.root_module.addImport("build_options", zimalloc_options); + if (target.result.os.tag == .windows) { + tests.linkSystemLibrary("onecore.lib"); + } const tests_run = b.addRunArtifact(tests);