diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-29 14:14:34 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-29 15:56:16 -0700 |
| commit | e203f30bc743ff3de271d8db80acd21991e903df (patch) | |
| tree | 0715830a57d2924ae41537b243024eb5e836976d /src/libstd/rt/crate_map.rs | |
| parent | 886819cca1208210cb73892f8fe4b7b9140068dc (diff) | |
| download | rust-e203f30bc743ff3de271d8db80acd21991e903df.tar.gz rust-e203f30bc743ff3de271d8db80acd21991e903df.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd/rt/crate_map.rs')
| -rw-r--r-- | src/libstd/rt/crate_map.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libstd/rt/crate_map.rs b/src/libstd/rt/crate_map.rs index 16b41276788..a7a5b0084a2 100644 --- a/src/libstd/rt/crate_map.rs +++ b/src/libstd/rt/crate_map.rs @@ -12,7 +12,6 @@ use container::MutableSet; use hashmap::HashSet; use option::{Some, None, Option}; use vec::ImmutableVector; -#[cfg(not(stage0))] use rt::rtio::EventLoop; // Need to tell the linker on OS X to not barf on undefined symbols @@ -27,14 +26,6 @@ pub struct ModEntry<'self> { log_level: *mut u32 } -#[cfg(stage0)] -pub struct CrateMap<'self> { - version: i32, - entries: &'self [ModEntry<'self>], - children: &'self [&'self CrateMap<'self>] -} - -#[cfg(not(stage0))] pub struct CrateMap<'self> { version: i32, entries: &'self [ModEntry<'self>], @@ -45,12 +36,6 @@ pub struct CrateMap<'self> { #[cfg(not(windows))] pub fn get_crate_map() -> Option<&'static CrateMap<'static>> { extern { - #[cfg(stage0)] - #[weak_linkage] - #[link_name = "_rust_crate_map_toplevel"] - static CRATE_MAP: CrateMap<'static>; - - #[cfg(not(stage0))] #[crate_map] static CRATE_MAP: CrateMap<'static>; } |
