diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-24 14:14:03 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-24 14:14:03 -0700 |
| commit | 991cbfe42c8836e8b4adfcaf288d5c0b8d57397c (patch) | |
| tree | 3bc5d52fd888c010ea797f6570c92abe861c183a /src/rt/rust.cpp | |
| parent | bb0ad11252c493ca8de85025411c3f068f529039 (diff) | |
| download | rust-991cbfe42c8836e8b4adfcaf288d5c0b8d57397c.tar.gz rust-991cbfe42c8836e8b4adfcaf288d5c0b8d57397c.zip | |
Revert "rt: Call the Rust box annihilator; stop calling the cycle collector" due to crashes
This reverts commit bb0ad11252c493ca8de85025411c3f068f529039.
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index dc28f624415..705a96303d4 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -72,8 +72,6 @@ command_line_args : public kernel_owned<command_line_args> // FIXME (#2670): This belongs somewhere else int check_claims = 0; -void* global_crate_map = NULL; - /** The runtime entrypoint. The (C ABI) main function generated by rustc calls `rust_start`, providing the address of the Rust ABI main function, the @@ -88,8 +86,6 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { // line as well. rust_env *env = load_env(); - global_crate_map = crate_map; - update_gc_metadata(crate_map); update_log_settings(crate_map, env->logspec); |
