We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2167c commit 46ad5e2Copy full SHA for 46ad5e2
Cargo.toml
@@ -15,7 +15,7 @@ version = "0.3.0"
15
repository = "FauxFaux/apt-pkg-native-rs"
16
17
[build-dependencies]
18
-gcc = "0.3"
+cc = "1.0"
19
20
[dependencies]
21
lazy_static = "1"
build.rs
@@ -1,11 +1,11 @@
1
-extern crate gcc;
+extern crate cc;
2
3
const SRC: &str = "apt-pkg-c/lib.cpp";
4
5
fn main() {
6
println!("cargo:rerun-if-changed={}", SRC);
7
8
- let mut build = gcc::Build::new();
+ let mut build = cc::Build::new();
9
build.file(SRC);
10
build.cpp(true);
11
build.flag("-std=gnu++11");
0 commit comments