Skip to content

Commit 6e68d9c

Browse files
authored
Add Visual Studio 2026 support (#255)
I have tested this and it appears to work well. Fixes #253
1 parent b59be3b commit 6e68d9c

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
@@ -16,4 +16,4 @@ edition = "2021"
1616
rust-version = "1.65"
1717

1818
[dependencies]
19-
cc = "1.1.0"
19+
cc = "1.2.46"

src/lib.rs

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

962962
let base = match find_vs_version() {
963+
Ok(VsVers::Vs18) => "Visual Studio 18 2026",
963964
Ok(VsVers::Vs17) => "Visual Studio 17 2022",
964965
Ok(VsVers::Vs16) => "Visual Studio 16 2019",
965966
Ok(VsVers::Vs15) => "Visual Studio 15 2017",

0 commit comments

Comments
 (0)