From 392dc961de9e266227101f5f4f92f57b5e1c968c Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Thu, 15 Aug 2024 04:01:37 -0500 Subject: [PATCH] Allow a deprecated VS version This is a recent deprecation, so just ignore the warning in case this crate is still getting used with very old versions. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 7649a6f..9ad13a2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -946,6 +946,8 @@ impl Config { Ok(VsVers::Vs16) => "Visual Studio 16 2019", Ok(VsVers::Vs15) => "Visual Studio 15 2017", Ok(VsVers::Vs14) => "Visual Studio 14 2015", + // This was deprecated recently (2024-07). Ignore the warning for now. + #[allow(deprecated)] Ok(VsVers::Vs12) => "Visual Studio 12 2013", Ok(_) => panic!( "Visual studio version detected but this crate \