From f6be25a8705b40c2c5127b52479485d904d38b64 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Mon, 18 Apr 2011 16:18:55 +0200 Subject: Update foregoing patches to leave rust_crate alone. Apparently it can't live in the main binary, since on non-Linux platforms, dynamics libs won't find symbols in the binary. This removes the crate_map pointer from rust_crate again, and instead passes it as an extra argument to rust_start. Rustboot doesn't pass this argument, but supposedly that's okay as long as we don't actually use it on that platform. --- src/rt/rust_log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rt/rust_log.h') diff --git a/src/rt/rust_log.h b/src/rt/rust_log.h index 3b40869b..150d239a 100644 --- a/src/rt/rust_log.h +++ b/src/rt/rust_log.h @@ -93,4 +93,6 @@ rust_log::is_tracing(uint32_t type_bits) { return type_bits & _type_bit_mask; } +void update_log_settings(void* crate_map, char* settings); + #endif /* RUST_LOG_H */ -- cgit v1.2.3