mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 19:35:35 +08:00
Add vs 18 support
This commit is contained in:
@@ -512,6 +512,7 @@ HEADER;
|
||||
$vc_matches = ['unknown', 'unknown'];
|
||||
} else {
|
||||
$vc_matches = match ($vc['major_version']) {
|
||||
'18', // VS 2026 shares the VS2022 (v143) runtime conventions, so it reports as VS17.
|
||||
'17' => ['VS17', 'Visual C++ 2022'],
|
||||
'16' => ['VS16', 'Visual C++ 2019'],
|
||||
default => ['unknown', 'unknown'],
|
||||
|
||||
Reference in New Issue
Block a user