Skip to content

Commit dca4a9d

Browse files
authored
Add Visual Studio 17 (2022) (#134)
* Add Visual Studio 17 (2022) * Bump cc to 1.0.72 for VS 2022 support
1 parent 2f324d7 commit dca4a9d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ A build dependency for running `cmake` to build a native library
1414
categories = ["development-tools::build-utils"]
1515

1616
[dependencies]
17-
cc = "1.0.41"
17+
cc = "1.0.72"

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ impl Config {
865865
use cc::windows_registry::{find_vs_version, VsVers};
866866

867867
let base = match find_vs_version() {
868+
Ok(VsVers::Vs17) => "Visual Studio 17 2022",
868869
Ok(VsVers::Vs16) => "Visual Studio 16 2019",
869870
Ok(VsVers::Vs15) => "Visual Studio 15 2017",
870871
Ok(VsVers::Vs14) => "Visual Studio 14 2015",

0 commit comments

Comments
 (0)