diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_vstudio.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index be0eed658..0035a88ce 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -401,7 +401,7 @@ function _check_vcvarsall_env(vars) if value_org and value_new and #value_org > 0 then for _, p in ipairs(path.splitenv(value_org)) do if not value_new:find(p, 1, true) then - wprint("%%%s%% is too long and truncated, detect msvc may be failed, please clear some unused variables!\n > %s", name, p) + wprint("%%%s%% is too long and truncated, detect msvc may be failed, please clear some unused variables!\n > %s", name, p:sub(1, 1024)) break end end |
