Skip to content

Commit 05a7d14

Browse files
committed
update to 0.15
1 parent 7013710 commit 05a7d14

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Build and use RocksDB in zig.
22

33
# Build Dependencies
44

5-
`rocksdb-zig` is pinned to [Zig `0.13`](https://ziglang.org/download/), so you will need to have it installed.
5+
`rocksdb-zig` is pinned to [Zig `0.15`](https://ziglang.org/download/) (also compiles for Zig 0.14), so you will need to have it installed.
66

77
# Usage
88

build.zig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ pub fn build(b: *Build) void {
1616
});
1717
bindings_mod.addImport("rocksdb", rocksdb_mod);
1818

19-
const tests = b.addTest(.{
20-
.target = target,
21-
.optimize = optimize,
22-
.root_source_file = b.path("src/lib.zig"),
23-
});
19+
const tests = b.addTest(.{ .root_module = bindings_mod });
2420
const test_step = b.step("test", "Run bindings tests");
2521
tests.root_module.addImport("rocksdb", rocksdb_mod);
2622
test_step.dependOn(&b.addRunArtifact(tests).step);

0 commit comments

Comments
 (0)