diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-01-28 22:25:23 +0000 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2025-02-21 17:37:03 +0000 |
| commit | 8c1b49d5e92c035661459063a645b78a47b6346a (patch) | |
| tree | a8ba6543bb67eea250dbad131a6e7df825998ba5 /library/test | |
| parent | cb1d076d42e9285488436688b8879225ab6db80e (diff) | |
| download | rust-8c1b49d5e92c035661459063a645b78a47b6346a.tar.gz rust-8c1b49d5e92c035661459063a645b78a47b6346a.zip | |
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]: https://github.com/rust-lang/rust/pull/111076
Diffstat (limited to 'library/test')
| -rw-r--r-- | library/test/Cargo.toml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml index 75cc7c00e38..241ef324b00 100644 --- a/library/test/Cargo.toml +++ b/library/test/Cargo.toml @@ -1,3 +1,5 @@ +cargo-features = ["public-dependency"] + [package] name = "test" version = "0.0.0" @@ -5,8 +7,8 @@ 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 } |
