Feature: namespace intermediate build artifacts under host triple
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 15.5k
- Forks
- 3k
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 51
Description
Sometimes you have code checked out in a folder shared between multiple systems, via network drives, shared VM folders, etc.
At the moment, if you switch systems and do a cargo build, you will tend to get strange errors from any libraries with build scripts, and you must do a cargo clean before you can proceed.
It would be convenient if cargo namespaced intermediate build artifacts based on the host triple, so that you could switch hosts without rebuilding everything from scratch: only the final product would need to be rebuilt.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Start by tracing how Cargo selects its target directory and handles host triples, then determine how intermediate artifacts can be separated while preserving reusable outputs. Done means switching hosts in a shared checkout no longer requires cargo clean and only the final product is rebuilt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100