Add Rust to C example

This commit is contained in:
Alex Crichton
2015-04-19 10:07:11 -07:00
commit afbdb0cc41
5 changed files with 32 additions and 0 deletions

5
rust-to-c/build.rs Normal file
View File

@@ -0,0 +1,5 @@
extern crate gcc;
fn main() {
gcc::Config::new().file("src/double.c").compile("libdouble.a");
}