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
{{ message }}
Repository navigation
1.100 beta crater regression: "can't find crate for yote_recordstore_rust" #164086
Activity
theemathas commentedon Oct 11, 2026
theemathas commentedon Oct 11, 2026
Notably, the
rust_object_storeregression only reproduces withcargo build, but not withcargo checktheemathas commentedon Oct 11, 2026
Bisection output with
cargo bisect-rustc --start=1.99.0 --end=beta -- build:Regressed in #161789. Notably this is a cargo submodule update, but isn't the one which involved the build dir v2 change.
theemathas commentedon Oct 11, 2026
Minimal reproducer: repro.zip
This reproducer also reproduces the problem with
cargo check. However, the original code needscargo buildto reproduce. I'm not sure why.I don't think
crate-type = ["lib"]withproc-macro = trueis supposed to be a legal combination.Cargo.toml
src/lib.rs
src/main.rs
An empty library crate is at
./dep.5 remaining items
theemathas commentedon Oct 11, 2026
Note: In the original code, this "proc macro" crate in the original code also exported non-proc-macro stuff
weihanglo commentedon Oct 11, 2026
Created a cargo side issue: rust-lang/cargo#17579
This is indeed a separate regression.
fix: `-L` for searching deps if crate-type is proc macro explicitly
fix: check crate type when pruning `-L` paths
weihanglo commentedon Oct 14, 2026
Beta backport PR on cargo side: rust-lang/cargo#17590
Will create a backport PR in this repo shortly after that one get merged.
fix: check crate type when pruning `-L` paths
weihanglo commentedon Oct 14, 2026
#164324
fix: check crate type when pruning `-L` paths (rust-lang#17589)
Auto merge of #164324 - weihanglo:cargo-1.100-beta-backport, r=weihanglo
Auto merge of #164324 - weihanglo:cargo-1.100-beta-backport, r=weihanglo
Auto merge of #164324 - weihanglo:cargo-1.100-beta-backport, r=weihanglo