rust-lang / rust-lang/cargo

Tracking Issue for checksum freshness

Open
#14,136 22 comments 31 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-rebuild-detection C-tracking-issue S-waiting-on-feedback Z-checksum-freshness
Dominant language
Rust
Stars
15.5k
Forks
3k
Avg merge
23h 30m
Merged PRs (30d)
51

Description

View all comments

Summary

Original issue: #6529
Implementation: https://github.com/rust-lang/cargo/pull/14137
Rustc implementation: https://github.com/rust-lang/rust/pull/126930
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#checksum-freshness

Add the ability to use content checksums rather than filesystem mtimes to determine if a crate should be recompiled.

Unresolved Issues
Future Extensions

No response

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Tasks
- [ ] https://github.com/rust-lang/cargo/pull/14137
- [ ] https://github.com/rust-lang/rust/pull/126930

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the checksum freshness tracking issue and review the linked Cargo and Rust implementation pull requests, followed by the unstable Cargo documentation. The remaining work is listed under Unresolved Issues: build-script checksums, stabilization and configuration, benchmarking, and migrating Cargo tests if enabled by default.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.