diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2017-10-05 10:19:03 +0530 |
---|---|---|
committer | Sanchayan Maity <maitysanchayan@gmail.com> | 2017-10-05 10:19:03 +0530 |
commit | 18eeb27e09fa9015a6484f34afa226eca1d25392 (patch) | |
tree | f5a3b9b070bb5c336cb5c7221a29be54d2353ead /nix-test/build.rs | |
parent | 9f4db8a494398226d4feda72ea2c4ed25fa03364 (diff) | |
download | nix-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
Diffstat (limited to 'nix-test/build.rs')
-rw-r--r-- | nix-test/build.rs | 2 |
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) |