diff --git a/Cargo.toml b/Cargo.toml index 91a1954..0b05027 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/build.rs b/build.rs index fe7965a..eecb804 100644 --- a/build.rs +++ b/build.rs @@ -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"); }