-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-rebuild-detectionArea: rebuild detection and fingerprintingArea: rebuild detection and fingerprintingC-bugCategory: bugCategory: bugS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixZ-checksum-freshnessNightly: rebuild detection on file checksum instead of mtimeNightly: rebuild detection on file checksum instead of mtime
Description
Problem
When using -Zchecksum-freshness in a project that uses the current version of bindgen, every cargo check or cargo build starts at clang-sys, always considering it in need of a rebuild. I could not reproduce the issue with just clang-sys as a dependency.
Steps
- Create a new Cargo package
cargo add bindgen@0.72.1cargo c -Zchecksum-freshnesscargo c -Zchecksum-freshness
Version
cargo 1.93.0-nightly (2d4fa1395 2025-11-12)
release: 1.93.0-nightly
commit-hash: 2d4fa139552ebdd5f091a1401ed03f7dc62cb43f
commit-date: 2025-11-12
host: x86_64-unknown-linux-gnu
libgit2: 1.9.1 (sys:0.20.2 vendored)
libcurl: 8.15.0-DEV (sys:0.4.83+curl-8.15.0 vendored ssl:OpenSSL/3.5.4)
ssl: OpenSSL 3.5.4 30 Sep 2025
os: Arch Linux [64-bit]
@rustbot label +Z-checksum-freshness +A-rebuild-detection
svix-mmanweihanglo
Metadata
Metadata
Assignees
Labels
A-rebuild-detectionArea: rebuild detection and fingerprintingArea: rebuild detection and fingerprintingC-bugCategory: bugCategory: bugS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixZ-checksum-freshnessNightly: rebuild detection on file checksum instead of mtimeNightly: rebuild detection on file checksum instead of mtime