From 18eeb27e09fa9015a6484f34afa226eca1d25392 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 5 Oct 2017 10:19:03 +0530 Subject: 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 --- nix-test/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix-test/build.rs') 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) -- cgit v1.2.3