Skip to content

Commit b39f1dc

Browse files
committed
Remove rlibc from the distribution
To make progress on #18585 we're paring down the distribution to theoretically "only libstd", and this commit makes progress on this by removing the rlibc crate from the distribution. The crate has now been moved into an external cargo package located in the rust lang organization [1]. This is a breaking change due to this removal, and existing crates depending on `rlibc` should use the Cargo crate instead. [1]: https://github.com/rust-lang/rlibc [breaking-change] cc #18585
1 parent 8ed288e commit b39f1dc

File tree

2 files changed

+1
-205
lines changed

2 files changed

+1
-205
lines changed

mk/crates.mk

+1-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
TARGET_CRATES := libc std green native flate arena term \
5353
serialize sync getopts collections test time rand \
54-
log regex graphviz core rbml rlibc alloc rustrt \
54+
log regex graphviz core rbml alloc rustrt \
5555
unicode
5656
HOST_CRATES := syntax rustc rustdoc regex_macros fmt_macros \
5757
rustc_llvm rustc_back
@@ -60,7 +60,6 @@ TOOLS := compiletest rustdoc rustc
6060

6161
DEPS_core :=
6262
DEPS_libc := core
63-
DEPS_rlibc := core
6463
DEPS_unicode := core
6564
DEPS_alloc := core libc native:jemalloc
6665
DEPS_rustrt := alloc core libc collections native:rustrt_native
@@ -104,7 +103,6 @@ TOOL_SOURCE_rustc := $(S)src/driver/driver.rs
104103

105104
ONLY_RLIB_core := 1
106105
ONLY_RLIB_libc := 1
107-
ONLY_RLIB_rlibc := 1
108106
ONLY_RLIB_alloc := 1
109107
ONLY_RLIB_rand := 1
110108
ONLY_RLIB_collections := 1

src/librlibc/lib.rs

-202
This file was deleted.

0 commit comments

Comments
 (0)