0c8d1b1e4c (master): win32/vssetup.cmd: Fix -vcvars_ver argument passing

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Aug 3, 2026, 8:13:36 PM (16 hours ago) Aug 3
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-08-03 23:10:38 +0000 (Mon, 03 Aug 2026)

New Revision: 0c8d1b1e4c

https://github.com/ruby/ruby/commit/0c8d1b1e4c

Log:
win32/vssetup.cmd: Fix -vcvars_ver argument passing

cmd.exe splits batch file arguments on "=", so "-vcvars_ver=14.29"
reaches the argument loop as two tokens and VsDevCmd.bat ignores the
version with an invalid argument error. Reassemble the pair before
chaining to VsDevCmd.bat.

Co-Authored-By: Claude Fable 5 <nor...@anthropic.com>

Modified files:
win32/vssetup.cmd
Reply all
Reply to author
Forward
0 new messages