Skip to content

Commit 97bf93e

Browse files
committed
auto merge of #18093 : steveklabnik/rust/remove_gc_reference, r=alexcrichton
2 parents 93e589c + f68d4d3 commit 97bf93e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/libstd/rt/mod.rs

+5-7
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@
1212
1313
The `rt` module provides the private runtime infrastructure necessary
1414
to support core language features like the exchange and local heap,
15-
the garbage collector, logging, local data and unwinding. It also
16-
implements the default task scheduler and task model. Initialization
17-
routines are provided for setting up runtime resources in common
18-
configurations, including that used by `rustc` when generating
19-
executables.
15+
logging, local data and unwinding. It also implements the default task
16+
scheduler and task model. Initialization routines are provided for setting
17+
up runtime resources in common configurations, including that used by
18+
`rustc` when generating executables.
2019
2120
It is intended that the features provided by `rt` can be factored in a
2221
way such that the core library can be built with different 'profiles'
@@ -32,7 +31,7 @@ truly a global resource and generally operates independently of the
3231
rest of the runtime.
3332
3433
All other runtime features are task-local, including the local heap,
35-
the garbage collector, local storage, logging and the stack unwinder.
34+
local storage, logging and the stack unwinder.
3635
3736
The relationship between `rt` and the rest of the core library is
3837
not entirely clear yet and some modules will be moving into or
@@ -42,7 +41,6 @@ Several modules in `core` are clients of `rt`:
4241
4342
* `std::task` - The user-facing interface to the Rust task model.
4443
* `std::local_data` - The interface to local data.
45-
* `std::gc` - The garbage collector.
4644
* `std::unstable::lang` - Miscellaneous lang items, some of which rely on `std::rt`.
4745
* `std::cleanup` - Local heap destruction.
4846
* `std::io` - In the future `std::io` will use an `rt` implementation.

0 commit comments

Comments
 (0)