From f68d4d39f7d465f9584fdbfc14523f964b176fe3 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 16 Oct 2014 12:31:04 -0400 Subject: [PATCH] don't refer to the nonexistant gc --- src/libstd/rt/mod.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index 4490977bde619..689bcdad1311c 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -12,11 +12,10 @@ The `rt` module provides the private runtime infrastructure necessary to support core language features like the exchange and local heap, -the garbage collector, logging, local data and unwinding. It also -implements the default task scheduler and task model. Initialization -routines are provided for setting up runtime resources in common -configurations, including that used by `rustc` when generating -executables. +logging, local data and unwinding. It also implements the default task +scheduler and task model. Initialization routines are provided for setting +up runtime resources in common configurations, including that used by +`rustc` when generating executables. It is intended that the features provided by `rt` can be factored in a 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 rest of the runtime. All other runtime features are task-local, including the local heap, -the garbage collector, local storage, logging and the stack unwinder. +local storage, logging and the stack unwinder. The relationship between `rt` and the rest of the core library is not entirely clear yet and some modules will be moving into or @@ -42,7 +41,6 @@ Several modules in `core` are clients of `rt`: * `std::task` - The user-facing interface to the Rust task model. * `std::local_data` - The interface to local data. -* `std::gc` - The garbage collector. * `std::unstable::lang` - Miscellaneous lang items, some of which rely on `std::rt`. * `std::cleanup` - Local heap destruction. * `std::io` - In the future `std::io` will use an `rt` implementation.