From 117b929b701e93fc65b8e0c0b0c47f32723afcc2 Mon Sep 17 00:00:00 2001 From: debris Date: Thu, 12 Oct 2017 23:23:50 +0200 Subject: [PATCH] use cc 1.0 instead of gcc --- Cargo.toml | 2 +- build.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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"); }