You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts/clean-debug.sh always cleans <checkout>/src-tauri/target/debug. If CARGO_TARGET_DIR points somewhere else, for example a target directory shared by several worktrees, the script reports nothing to clean and leaves the real build output alone.
Reproduce
CARGO_TARGET_DIR=/some/shared/target bash scripts/clean-debug.sh
# Nothing to clean: <worktree>/src-tauri/target/debug does not exist.
Fix
Use ${CARGO_TARGET_DIR:-$root/src-tauri/target}/debug as the directory to clean.
Activity