mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Turn on the new runtime
This commit is contained in:
@@ -135,7 +135,7 @@ pub fn start(main: *u8, argc: int, argv: **c_char,
|
||||
use os;
|
||||
|
||||
unsafe {
|
||||
let use_old_rt = os::getenv("RUST_NEWRT").is_none();
|
||||
let use_old_rt = os::getenv("RUST_OLDRT").is_some();
|
||||
if use_old_rt {
|
||||
return rust_start(main as *c_void, argc as c_int, argv,
|
||||
crate_map as *c_void) as int;
|
||||
|
||||
Reference in New Issue
Block a user