aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_log.h
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-04-18 16:18:55 +0200
committerMarijn Haverbeke <[email protected]>2011-04-18 16:21:49 +0200
commitf6be25a8705b40c2c5127b52479485d904d38b64 (patch)
treedc569bf01f47e01e70c8820a7a6341ac229154dd /src/rt/rust_log.h
parentAdd a -c option. (diff)
downloadrust-f6be25a8705b40c2c5127b52479485d904d38b64.tar.xz
rust-f6be25a8705b40c2c5127b52479485d904d38b64.zip
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.
Diffstat (limited to 'src/rt/rust_log.h')
-rw-r--r--src/rt/rust_log.h2
1 files changed, 2 insertions, 0 deletions
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 */