rust/compiler/rustc_metadata/src
Trevor Gross ed63539282 Mark dependencies of the standard library as private by default
In order to avoid diagnostics suggesting stdlib-private dependencies,
make everything that is a direct dependency of any `std` crates private
by default. Note that this will be overridden, if the same crate is
public elsewhere in the crate graph then that overrides the private
default.

It may also be feasible to do this in the library crate, marking `std`'s
dependencies private via Cargo. However, given that the feature is still
rather unstable, doing this within the compiler seems more
straightforward.

Fixes: https://github.com/rust-lang/rust/issues/135232 [1]
2025-01-14 08:51:19 +00:00
..
rmeta rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
creader.rs Mark dependencies of the standard library as private by default 2025-01-14 08:51:19 +00:00
dependency_format.rs Review comments 2024-12-20 08:35:02 +00:00
errors.rs Allow injecting a profiler runtime into #![no_core] crates 2024-11-24 21:12:40 +11:00
foreign_modules.rs Do not fetch HIR in native_libs. 2023-07-17 07:37:03 +00:00
fs.rs Dogfood feature(file_buffered) 2024-09-24 14:25:16 -07:00
lib.rs Rollup merge of #130518 - scottmcm:stabilize-controlflow-extra, r=dtolnay 2024-10-04 14:11:34 -07:00
locator.rs rustc_metadata: Rename root to dep_root 2025-01-14 08:51:19 +00:00
native_libs.rs Auto merge of #134243 - nnethercote:re-export-more-rustc_span, r=jieyouxu 2024-12-18 02:56:38 +00:00