Switch from gcc to cc
This commit is contained in:
@@ -8,4 +8,4 @@ build = "build.rs"
|
|||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
gcc = "0.3"
|
cc = "1.0"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
extern crate gcc;
|
extern crate cc;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
gcc::Build::new()
|
cc::Build::new()
|
||||||
.file("src/triple.cpp")
|
.file("src/triple.cpp")
|
||||||
.cpp(true)
|
.cpp(true)
|
||||||
.compile("libtriple.a");
|
.compile("libtriple.a");
|
||||||
|
|||||||
Reference in New Issue
Block a user