use cc 1.0 instead of gcc

This commit is contained in:
debris
2017-10-12 23:23:50 +02:00
parent bfff19ca9f
commit 8c1e402e02
3 changed files with 5 additions and 5 deletions

View File

@@ -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"

View File

@@ -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");
}