Skip to content

Commit b72c437

Browse files
committed
rt: Remove old precise GC code
1 parent c17447f commit b72c437

File tree

5 files changed

+0
-127
lines changed

5 files changed

+0
-127
lines changed

mk/rt.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ RUNTIME_CXXS_$(1)_$(2) := \
7171
rt/rust_upcall.cpp \
7272
rt/rust_uv.cpp \
7373
rt/rust_crate_map.cpp \
74-
rt/rust_gc_metadata.cpp \
7574
rt/rust_util.cpp \
7675
rt/rust_log.cpp \
7776
rt/isaac/randport.cpp \

src/libstd/rt/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,7 @@ pub fn init(argc: int, argv: **u8, crate_map: *u8) {
224224
args::init(argc, argv);
225225
env::init();
226226
logging::init(crate_map);
227-
rust_update_gc_metadata(crate_map);
228227
}
229-
230-
externfn!(fn rust_update_gc_metadata(crate_map: *u8));
231228
}
232229

233230
/// One-time runtime cleanup.

src/rt/rust_gc_metadata.cpp

Lines changed: 0 additions & 95 deletions
This file was deleted.

src/rt/rust_gc_metadata.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/rt/rustrt.def.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ rust_lock_little_lock
130130
rust_unlock_little_lock
131131
tdefl_compress_mem_to_heap
132132
tinfl_decompress_mem_to_heap
133-
rust_gc_metadata
134-
rust_update_gc_metadata
135133
rust_uv_ip4_port
136134
rust_uv_ip6_port
137135
rust_uv_tcp_getpeername

0 commit comments

Comments
 (0)