Skip to content

Commit

Permalink
use default optimize for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Sep 6, 2024
1 parent d7862ef commit 1ffa6ce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,13 @@ pub fn build(b: *std.Build) !void {
const lib_unit_tests = b.addTest(.{
.root_source_file = b.path("src/secp256k1.zig"),
.target = target,
.optimize = std.builtin.OptimizeMode.Debug,
});
lib_unit_tests.linkLibrary(libsecp256k1);
const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);

const global_tests = b.addTest(.{
.root_source_file = b.path("src/tests.zig"),
.target = target,
.optimize = std.builtin.OptimizeMode.Debug,
});
global_tests.linkLibrary(libsecp256k1);
const run_global_test = b.addRunArtifact(global_tests);
Expand Down

0 comments on commit 1ffa6ce

Please sign in to comment.