From f588f4e1aa549cf0c505fe07b365919b4808d049 Mon Sep 17 00:00:00 2001 From: CRT Date: Sat, 24 Oct 2026 12:12:37 +0800 Subject: [PATCH] path-free: no cargo trim-paths (nightly only) --- cli/lib/mas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/lib/mas.ts b/cli/lib/mas.ts index c870b5d..a5365bb 100644 --- a/cli/lib/mas.ts +++ b/cli/lib/mas.ts @@ -132,8 +132,8 @@ export function pathFreeEnv(i: PathFreeInput): Record { 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', }; }