Skip to content

Commit d8e1c60

Browse files
waywardmonkeysmadsmtm
authored andcommitted
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. Commit taken from SSheldon/rust-block#8
1 parent 3868950 commit d8e1c60

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

objc_test_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ license = "MIT"
1717
build = "build.rs"
1818

1919
[build-dependencies]
20-
gcc = "0.3"
20+
cc = "1.0"

objc_test_utils/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
extern crate gcc;
1+
extern crate cc;
22

33
fn main() {
4-
gcc::Config::new()
4+
cc::Build::new()
55
.compiler("clang")
66
.file("extern/block_utils.c")
77
.flag("-fblocks")

0 commit comments

Comments
 (0)