Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
55806a74
Commit
55806a74
authored
Jun 20, 2017
by
ShuYu Wang
Committed by
GitHub
Jun 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "explicit fail when rocksdb version is too low (#68)"
This reverts commit
cc896542
.
parent
cc896542
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
Cargo.toml
librocksdb_sys/Cargo.toml
+0
-1
build.rs
librocksdb_sys/build.rs
+1
-9
No files found.
librocksdb_sys/Cargo.toml
View file @
55806a74
...
...
@@ -18,4 +18,3 @@ sse = []
[build-dependencies]
gcc
=
"0.3"
pkg-config
=
"0.3.8"
librocksdb_sys/build.rs
View file @
55806a74
extern
crate
gcc
;
extern
crate
pkg_config
;
use
std
::{
env
,
fs
,
str
};
use
std
::
path
::
PathBuf
;
...
...
@@ -13,15 +13,7 @@ macro_rules! t {
}
fn
main
()
{
const
ROCKSDB_VERSION
:
&
'static
str
=
"5.4"
;
if
!
cfg!
(
feature
=
"static-link"
)
{
match
pkg_config
::
Config
::
new
()
.atleast_version
(
ROCKSDB_VERSION
)
.probe
(
"rocksdb"
)
{
Ok
(
_
)
=>
(),
Err
(
_
)
=>
{
panic!
(
"failed to find rocksdb >= {} by pkg-config"
,
ROCKSDB_VERSION
);
}
}
gcc
::
Config
::
new
()
.cpp
(
true
)
.file
(
"crocksdb/c.cc"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment