|
|
@ -7,13 +7,13 @@ rust-rocksdb |
|
|
|
|
|
|
|
|
|
|
|
### running |
|
|
|
### running |
|
|
|
1. get rocksdb |
|
|
|
1. get rocksdb |
|
|
|
``` |
|
|
|
``` |
|
|
|
git clone https://github.com/facebook/rocksdb |
|
|
|
git clone https://github.com/facebook/rocksdb |
|
|
|
cd rocksdb |
|
|
|
cd rocksdb |
|
|
|
make shared_lib |
|
|
|
make shared_lib |
|
|
|
``` |
|
|
|
``` |
|
|
|
2. run tests |
|
|
|
2. run tests |
|
|
|
``` |
|
|
|
``` |
|
|
|
LD_PRELOAD=/path/to/rocksdb/librocksdb.so cargo test |
|
|
|
LD_PRELOAD=/path/to/rocksdb/librocksdb.so cargo test |
|
|
|
``` |
|
|
|
``` |
|
|
|
3. enjoy (as much as you can with such a poor current library! stay tuned!) |
|
|
|
3. enjoy (as much as you can with such a poor current library! stay tuned!) |
|
|
|