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
Limit exported-private-dependencies lints to libraries #13039
Activity
linyihai commentedon Dec 5, 2023
@rustbot claim
epage commentedon Dec 5, 2023
FYI likely the first step is adding tests like https://github.com/rust-lang/cargo/blob/master/tests/testsuite/pub_priv.rs#L7 to cover tests, bins, build scripts, benches, examples, etc. If we need updating, the code is at https://github.com/rust-lang/cargo/blob/master/src/cargo/core/compiler/mod.rs#L1430
Auto merge of #13135 - linyihai:limit-priv-to-library, r=epage
epage commentedon Dec 11, 2023
Closed via #13135