summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2017-10-05 10:19:03 +0530
committerSanchayan Maity <maitysanchayan@gmail.com>2017-10-05 10:19:03 +0530
commit18eeb27e09fa9015a6484f34afa226eca1d25392 (patch)
treef5a3b9b070bb5c336cb5c7221a29be54d2353ead
parent9f4db8a494398226d4feda72ea2c4ed25fa03364 (diff)
downloadnix-18eeb27e09fa9015a6484f34afa226eca1d25392.zip
Fix use of deprecated item: gcc::Config
gcc::Config has been renamed to gcc::Build This fixes the following warning during run of cargo test warning: use of deprecated item: gcc::Config has been renamed to gcc::Build --> nix-test/build.rs:16:5 | 16 | gcc::Config::new() | ^^^^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default
-rw-r--r--nix-test/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-test/build.rs b/nix-test/build.rs
index 0c18e1c8..5d1b1bba 100644
--- a/nix-test/build.rs
+++ b/nix-test/build.rs
@@ -13,7 +13,7 @@ pub fn main() {
"UNKNOWN"
};
- gcc::Config::new()
+ gcc::Build::new()
.file("src/const.c")
.file("src/sizes.c")
.define(os, None)