Switched gcc::Config to gcc:Build in build.rs.

This commit is contained in:
thelearnerofcode 2017-09-09 15:03:35 -04:00
parent 5bf228fbd0
commit 21bb04da36
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ fn main() {
{ {
use std::env; use std::env;
let mut config = gcc::Config::new(); let mut config = gcc::Build::new();
let target_os = env::var("CARGO_CFG_TARGET_OS"); let target_os = env::var("CARGO_CFG_TARGET_OS");
let target_family = env::var("CARGO_CFG_TARGET_FAMILY"); let target_family = env::var("CARGO_CFG_TARGET_FAMILY");