Switched gcc::Config to gcc:Build in build.rs.
This commit is contained in:
parent
5bf228fbd0
commit
21bb04da36
2
build.rs
2
build.rs
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue