保留显式 sccache wrapper 路径

探测成功后将用户配置的 wrapper 原样交给 Cargo
This commit is contained in:
2026-09-14 09:04:49 +00:00
committed by 孔令弘
parent 25769ad5e8
commit 0fea75952a
+1 -1
View File
@@ -173,7 +173,7 @@ function resolveLocalDevRustcWrapperBypass(configuredWrapper, options = {}) {
localSccacheProbeCache.set(cacheKey, available);
return available;
})();
return sccacheAvailable ? 'sccache' : '';
return sccacheAvailable ? configuredWrapper : '';
}
const SERVICE_NAMES = [