We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40cf96 commit ef62faeCopy full SHA for ef62fae
src/rt/rust.cpp
@@ -80,10 +80,8 @@ extern "C" CDECL int
80
rust_start(uintptr_t main_fn, rust_crate const *crate, int argc,
81
char **argv, void* crate_map) {
82
83
- // FIXME commented out until I figure out how to detect rustboot in a sane
84
- // way
85
- /* if (NOT_USING_RUSTBOOT)
86
- update_log_settings(crate_map, getenv("RUST_LOG"));*/
+ if (crate->abi_tag != ABI_X86_RUSTBOOT_CDECL)
+ update_log_settings(crate_map, getenv("RUST_LOG"));
87
rust_srv *srv = new rust_srv();
88
rust_kernel *kernel = new rust_kernel(srv);
89
kernel->start();
0 commit comments