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.

Commit taken from SSheldon/rust-block#8
  • Loading branch information
waywardmonkeys authored and madsmtm committed Sep 2, 2021
1 parent 3868950 commit d8e1c60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion objc_test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ license = "MIT"
build = "build.rs"

[build-dependencies]
gcc = "0.3"
cc = "1.0"
4 changes: 2 additions & 2 deletions objc_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("extern/block_utils.c")
.flag("-fblocks")
Expand Down

0 comments on commit d8e1c60

Please sign in to comment.