Skip to content

Commit f1eaba0

Browse files
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.
1 parent 642ea4a commit f1eaba0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ name = "objc_test_utils"
1515
path = "lib.rs"
1616

1717
[build-dependencies]
18-
gcc = "0.3"
18+
cc = "1"

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("block_utils.c")
77
.flag("-fblocks")

0 commit comments

Comments
 (0)