Remove our dependency on the gcc crate

This commit is contained in:
Bastien Orivel 2018-03-21 15:17:39 +01:00
parent 02c758a226
commit 15b98e5dc3
3 changed files with 22 additions and 28 deletions

View file

@ -2,10 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
extern crate gcc;
extern crate cc;
fn main() {
let mut cfg = gcc::Config::new();
cfg.file("src/task_info.c");
cfg.compile("libtask_info.a");
cc::Build::new()
.file("src/task_info.c")
.compile("libtask_info.a");
}