From dc7162fe40e6b31811e8879c9860fd9eafe6aa46 Mon Sep 17 00:00:00 2001 From: Thomas Jespersen Date: Thu, 10 Aug 2017 01:30:39 +0200 Subject: [PATCH] Add Config as alias for Build This allows adding deprecation warnings and including the rename in the 0.3 series. --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 4698b56..94593fa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,6 +52,10 @@ use std::process::{Command, Stdio, Child}; use std::io::{self, BufReader, BufRead, Read, Write}; use std::thread::{self, JoinHandle}; +#[doc(hidden)] +#[deprecated(since="0.3.51", note="gcc::Config has been renamed to gcc::Build")] +pub type Config = Build; + // These modules are all glue to support reading the MSVC version from // the registry and from COM interfaces #[cfg(windows)]