From f1eaba038dea47909aac64d9140a3a6ed0a1cd9e Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 26 Jan 2018 16:58:31 +0700 Subject: [PATCH] Update test_utils to use `cc` rather than `gcc`. The `gcc` crate has been replaced with `cc`. Additionally, the `gcc:Config` was renamed to `gcc::Build`. This updates both of those. --- test_utils/Cargo.toml | 2 +- test_utils/build.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test_utils/Cargo.toml b/test_utils/Cargo.toml index 644e8cf..2f16c74 100644 --- a/test_utils/Cargo.toml +++ b/test_utils/Cargo.toml @@ -15,4 +15,4 @@ name = "objc_test_utils" path = "lib.rs" [build-dependencies] -gcc = "0.3" +cc = "1" diff --git a/test_utils/build.rs b/test_utils/build.rs index 3010519..d78eed6 100644 --- a/test_utils/build.rs +++ b/test_utils/build.rs @@ -1,7 +1,7 @@ -extern crate gcc; +extern crate cc; fn main() { - gcc::Config::new() + cc::Build::new() .compiler("clang") .file("block_utils.c") .flag("-fblocks")