mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Windows mswin - use ucrt64 tools instead of mingw64
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user