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
8336f84a
Commit
8336f84a
authored
Jun 20, 2017
by
goroutine
Committed by
GitHub
Jun 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70 from pingcap/revert-68-master
Revert "explicit fail when rocksdb version is too low"
parents
cc896542
55806a74
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 @
8336f84a
...
...
@@ -18,4 +18,3 @@ sse = []
[build-dependencies]
gcc
=
"0.3"
pkg-config
=
"0.3.8"
librocksdb_sys/build.rs
View file @
8336f84a
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