From 52a8ed3fc48adbfa7960534c6794ec42f8f9a8f7 Mon Sep 17 00:00:00 2001 From: CRT Date: Sat, 24 Oct 2026 04:12:37 +0000 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 c870b5da..a5365bb4 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', }; }