File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments