Update gcc->cc

master
kpcyrd 2018-09-04 19:36:50 +01:00
parent c1806b72eb
commit 8fd45d70a2
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ repository = "https://github.com/tomaka/rust-hl-lua"
[build-dependencies]
pkg-config = "0.3"
gcc = "0.3"
cc = "1.0"
[dependencies]
libc = "0.2"

View File

@ -1,5 +1,5 @@
extern crate pkg_config;
extern crate gcc;
extern crate cc;
use std::env;
@ -9,7 +9,7 @@ fn main() {
Err(..) => {}
};
let mut build = gcc::Build::new();
let mut build = cc::Build::new();
if env::var("CARGO_CFG_TARGET_OS") == Ok("linux".to_string()) {
// Enable `io.popen` support