about summary refs log tree commit diff
path: root/src/rt/rust_stack.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-21 14:13:31 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-21 19:10:32 -0700
commit08f783ff10cd561fbe31d5744fd42713d4b3764f (patch)
treea9df4d5bab83891c5e3fb8f98902158948b32da1 /src/rt/rust_stack.h
parent4a0c6c7f41149fceb58c7646be2e54975023d57e (diff)
downloadrust-08f783ff10cd561fbe31d5744fd42713d4b3764f.tar.gz
rust-08f783ff10cd561fbe31d5744fd42713d4b3764f.zip
rt: Add a task field to stk_seg and populate it
Diffstat (limited to 'src/rt/rust_stack.h')
-rw-r--r--src/rt/rust_stack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_stack.h b/src/rt/rust_stack.h
index bea86cf1ec8..ecd591cbe36 100644
--- a/src/rt/rust_stack.h
+++ b/src/rt/rust_stack.h
@@ -12,6 +12,7 @@ struct stk_seg {
     uint32_t pad;
 #endif
 
+    rust_task *task;
     uintptr_t canary;
 
     uint8_t data[];