Windows mswin - use ucrt64 tools instead of mingw64

This commit is contained in:
MSP-Greg
2022-05-02 20:51:22 +02:00
committed by Benoit Daloze
parent d78e94b867
commit d246303ba7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ export function win2nix(path) {
function rubyIsUCRT(path) {
return !!(fs.existsSync(path) &&
fs.readdirSync(path, { withFileTypes: true }).find(dirent =>
dirent.isFile() && dirent.name.match(/^x64-ucrt-ruby\d{3}\.dll$/)))
dirent.isFile() && dirent.name.match(/^x64-(ucrt|vcruntime\d{3})-ruby\d{3}\.dll$/)))
}
export function setupPath(newPathEntries) {