Skip to content

Commit 475a1fc

Browse files
committed
---
yaml --- r: 2135 b: refs/heads/master c: ef62fae h: refs/heads/master i: 2133: e0fcd35 2131: 250e8e7 2127: b68cfdd v: v3
1 parent 89288e3 commit 475a1fc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: c40cf9665685a5c90082506a9518773e466d6b4f
2+
refs/heads/master: ef62fae9db156c1706ad08a2d2b0562fd0b9e42d

trunk/src/rt/rust.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@ extern "C" CDECL int
8080
rust_start(uintptr_t main_fn, rust_crate const *crate, int argc,
8181
char **argv, void* crate_map) {
8282

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"));*/
83+
if (crate->abi_tag != ABI_X86_RUSTBOOT_CDECL)
84+
update_log_settings(crate_map, getenv("RUST_LOG"));
8785
rust_srv *srv = new rust_srv();
8886
rust_kernel *kernel = new rust_kernel(srv);
8987
kernel->start();

0 commit comments

Comments
 (0)