Skip to content

Commit c2799fc

Browse files
committed
Auto merge of #45446 - leodasvacas:remove-libcollections, r=alexcrichton
Remove deprecated `collections` crate. The real `collections` was merged with `alloc`, this facade was introduced [in this PR](#42720) to give `#[no_std]` users time to adapt. This was done at least two cycles ago, now we can consider removing it for good.
2 parents 61af754 + 170f63e commit c2799fc

File tree

7 files changed

+1
-97
lines changed

7 files changed

+1
-97
lines changed

src/Cargo.lock

-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bootstrap/dist.rs

-1
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,6 @@ impl Step for Src {
738738
"src/liballoc_jemalloc",
739739
"src/liballoc_system",
740740
"src/libbacktrace",
741-
"src/libcollections",
742741
"src/libcompiler_builtins",
743742
"src/libcore",
744743
"src/liblibc",

src/bootstrap/doc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ impl Step for Std {
490490
// for which docs must be built.
491491
if !build.config.compiler_docs {
492492
cargo.arg("--no-deps");
493-
for krate in &["alloc", "collections", "core", "std", "std_unicode"] {
493+
for krate in &["alloc", "core", "std", "std_unicode"] {
494494
cargo.arg("-p").arg(krate);
495495
// Create all crate output directories first to make sure rustdoc uses
496496
// relative links.

src/doc/unstable-book/src/library-features/collections.md

-5
This file was deleted.

src/libcollections/Cargo.toml

-12
This file was deleted.

src/libcollections/lib.rs

-68
This file was deleted.

src/libstd/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ alloc_jemalloc = { path = "../liballoc_jemalloc", optional = true }
1515
alloc_system = { path = "../liballoc_system" }
1616
panic_unwind = { path = "../libpanic_unwind", optional = true }
1717
panic_abort = { path = "../libpanic_abort" }
18-
collections = { path = "../libcollections" }
1918
core = { path = "../libcore" }
2019
libc = { path = "../rustc/libc_shim" }
2120
rand = { path = "../librand" }

0 commit comments

Comments
 (0)