We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cc
1 parent bc55150 commit 0f116f3Copy full SHA for 0f116f3
Cargo.toml
@@ -23,4 +23,4 @@ cfg-if = "0.1"
23
libc = "0.2"
24
25
[build-dependencies]
26
-gcc = "0.3.10"
+cc = "1.0"
build.rs
@@ -1,12 +1,12 @@
1
-extern crate gcc;
+extern crate cc;
2
3
use std::env;
4
5
fn main() {
6
let target = env::var("TARGET").unwrap();
7
let msvc = target.contains("msvc");
8
9
- let mut cfg = gcc::Config::new();
+ let mut cfg = cc::Build::new();
10
11
if target.contains("linux") {
12
cfg.define("LINUX", None);
0 commit comments