Temporarily turn off logging initialization

Will be restored as soon as I find a way for the runtime
to figure out whether it is on rustboot or rustc.
This commit is contained in:
Marijn Haverbeke
2011-04-18 18:29:20 +02:00
parent f6be25a870
commit c40cf96656

View File

@@ -80,9 +80,10 @@ extern "C" CDECL int
rust_start(uintptr_t main_fn, rust_crate const *crate, int argc,
char **argv, void* crate_map) {
// Only when we're on rustc is the last argument passed
if (!crate->get_image_base())
update_log_settings(crate_map, getenv("RUST_LOG"));
// FIXME commented out until I figure out how to detect rustboot in a sane
// way
/* if (NOT_USING_RUSTBOOT)
update_log_settings(crate_map, getenv("RUST_LOG"));*/
rust_srv *srv = new rust_srv();
rust_kernel *kernel = new rust_kernel(srv);
kernel->start();