diff options
| author | ruki <[email protected]> | 2026-02-01 12:37:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-01 12:37:57 +0800 |
| commit | 9f2b25fb6b4682b0e82ca1bdcfc0ae24ff9e668d (patch) | |
| tree | 6f79e601e78f8cc0972d8374c0f120b5ce6d569b | |
| parent | 5a257a3471bc29e1ad9ac496b6389f874f394227 (diff) | |
improve tips
| -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 |
