Skip to content

Commit 392dc96

Browse files
committed
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.
1 parent 55b5a77 commit 392dc96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,8 @@ impl Config {
946946
Ok(VsVers::Vs16) => "Visual Studio 16 2019",
947947
Ok(VsVers::Vs15) => "Visual Studio 15 2017",
948948
Ok(VsVers::Vs14) => "Visual Studio 14 2015",
949+
// This was deprecated recently (2024-07). Ignore the warning for now.
950+
#[allow(deprecated)]
949951
Ok(VsVers::Vs12) => "Visual Studio 12 2013",
950952
Ok(_) => panic!(
951953
"Visual studio version detected but this crate \

0 commit comments

Comments
 (0)