Skip to content

Commit

Permalink
Allow a deprecated VS version
Browse files Browse the repository at this point in the history
This is a recent deprecation, so just ignore the warning in case this
crate is still getting used with very old versions.
  • Loading branch information
tgross35 committed Aug 15, 2024
1 parent 55b5a77 commit 392dc96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 392dc96

Please sign in to comment.