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
Generated Vendored
+1 -1
View File
@@ -427,7 +427,7 @@ 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$/)))
}
function setupPath(newPathEntries) {