-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
public-dependencies
in all sysroot crates
In [1], most dependencies of `std` and other sysroot crates were marked private, but this did not happen for `alloc` and `test`. Update these here, marking public standard library crates as the only non-private dependencies. [1]: #111076
- Loading branch information
Showing
3 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
cargo-features = ["public-dependency"] | ||
|
||
[package] | ||
name = "test" | ||
version = "0.0.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] } | ||
std = { path = "../std" } | ||
core = { path = "../core" } | ||
std = { path = "../std", public = true } | ||
core = { path = "../core", public = true } | ||
|
||
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies] | ||
libc = { version = "0.2.150", default-features = false } |