diff options
| author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-18 14:01:13 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2011-05-18 14:02:53 -0400 |
| commit | d108bfe2eed963dda50df916c629bfce53d6bbe1 (patch) | |
| tree | 1267ea7c8d659b9f2ebf2535b8aad994039e638a /src/rt/rust.cpp | |
| parent | cebc9b359db16ea0370fb9f9013507a559e33bcd (diff) | |
| download | rust-d108bfe2eed963dda50df916c629bfce53d6bbe1.tar.gz rust-d108bfe2eed963dda50df916c629bfce53d6bbe1.zip | |
Remove a bit more dead code.
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index efb3d3eab37..0c7ec8d3abe 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -80,10 +80,7 @@ extern "C" CDECL int rust_start(uintptr_t main_fn, rust_crate const *crate, int argc, char **argv, void* crate_map) { - if (crate->abi_tag != ABI_X86_RUSTBOOT_CDECL) - update_log_settings(crate_map, getenv("RUST_LOG")); - else - update_log_settings(NULL, getenv("RUST_LOG")); + update_log_settings(crate_map, getenv("RUST_LOG")); rust_srv *srv = new rust_srv(); rust_kernel *kernel = new rust_kernel(srv); kernel->start(); |
