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
Problem
Seems to be the same as #7189. Cargo no longer marks target/, or any subdirectories, as excluded from time machine backups. This causes lots of backup bloat!
Steps
Run cargo new my-cool-project
Run cargo build my-cool-project
Run tmutil isexcluded target/ and see that it says the target/ directory is included in backups.
Possible Solution(s)
The current implementation seems too fragile, as it's broken before and it's broken now. Simply setting the com.apple.metadata:com_apple_backup_excludeItem xattr on the directory is enough, rather than invoking an Objective-C framework method.
Notes
Output of cargo version: cargo 1.37.0 (9edd089 2019-08-02)
Latest MacOS.
The text was updated successfully, but these errors were encountered:
Problem
Seems to be the same as #7189. Cargo no longer marks
target/
, or any subdirectories, as excluded from time machine backups. This causes lots of backup bloat!Steps
cargo new my-cool-project
cargo build my-cool-project
tmutil isexcluded target/
and see that it says thetarget/
directory is included in backups.Possible Solution(s)
The current implementation seems too fragile, as it's broken before and it's broken now. Simply setting the
com.apple.metadata:com_apple_backup_excludeItem
xattr on the directory is enough, rather than invoking an Objective-C framework method.Notes
Output of
cargo version
: cargo 1.37.0 (9edd089 2019-08-02)Latest MacOS.
The text was updated successfully, but these errors were encountered: