Turn on the new runtime

This commit is contained in:
Brian Anderson 2013-08-05 00:47:04 -07:00
parent 52a37b63f4
commit 85aaa44bec
1 changed files with 1 additions and 1 deletions

View File

@ -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;