diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-10-31 13:31:04 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-10-31 14:20:56 -0700 |
| commit | c9003d301f602cb44d8cc3fd464c95b09e08548e (patch) | |
| tree | 26b07c6d9da42436b7c2cfebbf08ad7404bb059e /src/rt/rust_task.h | |
| parent | 799ba7b1226cda3cf167cbe1c7e8aaf2f78c82f9 (diff) | |
| download | rust-c9003d301f602cb44d8cc3fd464c95b09e08548e.tar.gz rust-c9003d301f602cb44d8cc3fd464c95b09e08548e.zip | |
Stub a __morestack implementation and stack segment allocation. Untested.
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index fe19e06e657..783d46eaced 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -24,8 +24,13 @@ struct chan_handle { struct rust_box; struct stk_seg { - unsigned int valgrind_id; + stk_seg *next; uintptr_t limit; + unsigned int valgrind_id; +#ifndef _LP64 + uint32_t pad; +#endif + uint8_t data[]; }; |
