Closed skyrod-vactai closed 10 months ago
Note: I'd be happy to sign the contributor agreement and submit a PR for this, but I'm having trouble getting the project to build. It fails building cozorocks (and I am only using sqlite but not sure that matters) Any hints? This is what the first errors look like
warning: /home/v/workspace/cozo/target/debug/build/cozorocks-4c4da2415a34542d/out/cxxbridge/sources/cozorocks/src/bridge/mod.rs.cc:875:58: error: ‘kMergeOperandThresholdExceeded’ is not a member of ‘StatusSubCode’ {aka ‘rocksdb::Status::SubCode’}
warning: 875 | static_assert(static_cast<::std::uint8_t>(StatusSubCode::kMergeOperandThresholdExceeded) == 16, "disagrees with the value in #[cxx::bridge]");
warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: /home/v/workspace/cozo/target/debug/build/cozorocks-4c4da2415a34542d/out/cxxbridge/sources/cozorocks/src/bridge/mod.rs.cc:876:71: error: static assertion failed: disagrees with the value in #[cxx::bridge]
warning: 876 | static_assert(static_cast<::std::uint8_t>(StatusSubCode::kMaxSubCode) == 17, "disagrees with the value in #[cxx::bridge]");
warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
warning: /home/v/workspace/cozo/target/debug/build/cozorocks-4c4da2415a34542d/out/cxxbridge/sources/cozorocks/src/bridge/mod.rs.cc:876:71: note: the comparison reduces to ‘(16 == 17)’
It binds to 3000
even if specified otherwise using --port
cli option. cozo server -e rocksdb --port 9070