Skip to content

Commit 0f116f3

Browse files
committed
Upgrade to the cc crate
1 parent bc55150 commit 0f116f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ cfg-if = "0.1"
2323
libc = "0.2"
2424

2525
[build-dependencies]
26-
gcc = "0.3.10"
26+
cc = "1.0"

build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
extern crate gcc;
1+
extern crate cc;
22

33
use std::env;
44

55
fn main() {
66
let target = env::var("TARGET").unwrap();
77
let msvc = target.contains("msvc");
88

9-
let mut cfg = gcc::Config::new();
9+
let mut cfg = cc::Build::new();
1010

1111
if target.contains("linux") {
1212
cfg.define("LINUX", None);

0 commit comments

Comments
 (0)