Skip to content

fix: ignore transient Cargo target directories - #310

Draft
johnmatthewtennant wants to merge 1 commit into
mainfrom
jtennant/ignore-transient-cargo-targets
Draft

fix: ignore transient Cargo target directories#310
johnmatthewtennant wants to merge 1 commit into
mainfrom
jtennant/ignore-transient-cargo-targets

Conversation

@johnmatthewtennant

Copy link
Copy Markdown
Contributor

Summary

Berd runs repository-wide Biome formatting in parallel with Cargo checks. On a cold checkout, Cargo can create and remove a temporary src-tauri/targetXXXXXX directory while Biome traverses it, causing the pre-push hook to fail with internalError/io.

Ignore src-tauri/target* in Git and Biome so formatters never traverse stable or transient Rust build output.

Testing

Created a synthetic src-tauri/targetAb12Cd/async-git-probe.js and confirmed Git ignores it and biome format . --verbose does not enumerate it. The frontend and Rust formatting checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant