Skip to content

Commit 60c84ee

Browse files
committed
Remove claims of dependency-free libcore
libcore does have a few deps, like noted in #29390 Fixes #29502
1 parent 57c8a3e commit 60c84ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libcore/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010

1111
//! # The Rust Core Library
1212
//!
13-
//! The Rust Core Library is the dependency-free foundation of [The
13+
//! The Rust Core Library is the dependency-free[^free] foundation of [The
1414
//! Rust Standard Library](../std/index.html). It is the portable glue
1515
//! between the language and its libraries, defining the intrinsic and
1616
//! primitive building blocks of all Rust code. It links to no
1717
//! upstream libraries, no system libraries, and no libc.
1818
//!
19+
//! [^free]: Strictly speaking, there are some symbols which are needed but
20+
//! they aren't always neccesary.
21+
//!
1922
//! The core library is *minimal*: it isn't even aware of heap allocation,
2023
//! nor does it provide concurrency or I/O. These things require
2124
//! platform integration, and this library is platform-agnostic.

0 commit comments

Comments
 (0)