Skip to content

Commit

Permalink
Add Visual Studio 17 (2022) (#134)
Browse files Browse the repository at this point in the history
* Add Visual Studio 17 (2022)

* Bump cc to 1.0.72 for VS 2022 support
  • Loading branch information
ensch committed Nov 10, 2021
1 parent 2f324d7 commit dca4a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ A build dependency for running `cmake` to build a native library
categories = ["development-tools::build-utils"]

[dependencies]
cc = "1.0.41"
cc = "1.0.72"
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ impl Config {
use cc::windows_registry::{find_vs_version, VsVers};

let base = match find_vs_version() {
Ok(VsVers::Vs17) => "Visual Studio 17 2022",
Ok(VsVers::Vs16) => "Visual Studio 16 2019",
Ok(VsVers::Vs15) => "Visual Studio 15 2017",
Ok(VsVers::Vs14) => "Visual Studio 14 2015",
Expand Down

0 comments on commit dca4a9d

Please sign in to comment.