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