aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_task.h')
-rw-r--r--src/rt/rust_task.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h
index 26ba872d..9fbc67ac 100644
--- a/src/rt/rust_task.h
+++ b/src/rt/rust_task.h
@@ -83,6 +83,9 @@ rust_task : public maybe_proxy<rust_task>,
void log(uint32_t type_bits, char const *fmt, ...);
+ // Print a backtrace, if the "bt" logging option is on.
+ void backtrace();
+
// Swap in some glue code to run when we have returned to the
// task's context (assuming we're the active task).
void run_after_return(size_t nargs, uintptr_t glue);