Skip to content

Commit a2fbd7b

Browse files
committed
update
1 parent f9e87f2 commit a2fbd7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/local-env/windows-msvc.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ fi
2222
case "$_arch" in
2323
aarch64)
2424
# aarch64 require v143 toolset (to support ARM64/ARM64EC and MT/MTd runtime)
25-
_vcvars_ver=15.0
25+
_vcvars_ver=auto
2626
;;
2727
*)
2828
# default to v141 toolset (goal is to support the lowest version possible)
29-
_vcvars_ver=15.0
29+
_vcvars_ver=auto
3030
;;
3131
esac
3232

33+
. "$(dirname -- "$0")/../../external/vcvars-bash/vcvarsrun.sh" all # dump toolset versions
3334
exec "$(dirname -- "$0")/../../external/vcvars-bash/vcvarsrun.sh" "$_vcvars_arch" -vcvars_ver="$_vcvars_ver" -- "$@"

0 commit comments

Comments
 (0)