Rust-Programming-Cookbook/Chapter08/rust-to-c/build.rs

13 wiersze
257 B
Rust
Czysty Zwykły widok Historia

2017-07-31 06:59:18 +00:00
//-- #########################
//-- Task: Build script
//-- Author: Vigneshwer.D
//-- Version: 1.0.0
//-- Date: 14 April 17
//-- #########################
extern crate gcc;
fn main() {
gcc::Config::new().file("src/double.c").compile("libdouble.a");
}