Merge pull request #6733 from paritytech/cc1.0
use cc 1.0 instead of gcc
This commit is contained in:
commit
fcd81a7b86
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1199,8 +1199,8 @@ dependencies = [
|
||||
name = "hash"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"cc 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ethcore-bigint 0.1.3",
|
||||
"gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"tiny-keccak 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
@ -12,7 +12,7 @@ ethcore-bigint = { path = "../bigint" }
|
||||
tiny-keccak = "1.3"
|
||||
|
||||
[build-dependencies]
|
||||
gcc = "0.3"
|
||||
cc = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
tempdir = "0.3"
|
||||
|
@ -16,11 +16,11 @@
|
||||
|
||||
// build.rs
|
||||
|
||||
// Bring in a dependency on an externally maintained `gcc` package which manages
|
||||
// Bring in a dependency on an externally maintained `cc` package which manages
|
||||
// invoking the C compiler.
|
||||
extern crate gcc;
|
||||
extern crate cc;
|
||||
|
||||
fn main() {
|
||||
gcc::Build::new().file("src/tinykeccak.c").compile("libtinykeccak.a");
|
||||
cc::Build::new().file("src/tinykeccak.c").compile("libtinykeccak.a");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user