Skip to content

Commit

Permalink
Update test_utils to use cc rather than gcc.
Browse files Browse the repository at this point in the history
The `gcc` crate has been replaced with `cc`. Additionally, the
`gcc:Config` was renamed to `gcc::Build`. This updates both of
those.
  • Loading branch information
waywardmonkeys committed Jan 26, 2018
1 parent 4fda032 commit 6d66631
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name = "objc_test_utils"
path = "lib.rs"

[build-dependencies]
gcc = "0.3"
cc = "1"
4 changes: 2 additions & 2 deletions test_utils/build.rs
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 6d66631

Please sign in to comment.