Use cc crate instead of gcc
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
extern crate gcc;
|
||||
extern crate cc;
|
||||
|
||||
fn main() {
|
||||
gcc::Config::new().file("src/double.c").compile("libdouble.a");
|
||||
cc::Build::new()
|
||||
.file("src/double.c")
|
||||
.compile("libdouble.a");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user