Skip to content

Commit d246303

Browse files
MSP-Gregeregon
authored andcommitted
Windows mswin - use ucrt64 tools instead of mingw64
1 parent d78e94b commit d246303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export function win2nix(path) {
159159
function rubyIsUCRT(path) {
160160
return !!(fs.existsSync(path) &&
161161
fs.readdirSync(path, { withFileTypes: true }).find(dirent =>
162-
dirent.isFile() && dirent.name.match(/^x64-ucrt-ruby\d{3}\.dll$/)))
162+
dirent.isFile() && dirent.name.match(/^x64-(ucrt|vcruntime\d{3})-ruby\d{3}\.dll$/)))
163163
}
164164

165165
export function setupPath(newPathEntries) {

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)