path-free: no cargo trim-paths (nightly only)

This commit is contained in:
CRTkafa 2026-10-24 12:12:37 +08:00
parent 0263f62443
commit f588f4e1aa

View file

@ -132,8 +132,8 @@ export function pathFreeEnv(i: PathFreeInput): Record<string, string> {
return {
RUSTFLAGS: [i.rustflags ?? '', ...flags].filter(Boolean).join(' '),
CARGO_PROFILE_RELEASE_DEBUG: '0',
// no CARGO_PROFILE_RELEASE_TRIM_PATHS: still nightly-only in cargo 1.98 ("feature trim-paths is required"); the remaps do the job
CARGO_PROFILE_RELEASE_STRIP: 'symbols',
CARGO_PROFILE_RELEASE_TRIM_PATHS: 'all',
};
}