rt: Make __morestack work on win32

This commit is contained in:
Brian Anderson
2011-12-08 16:47:33 -08:00
parent 0e74121ddb
commit 9e6ff44d93
3 changed files with 10 additions and 11 deletions

View File

@@ -394,6 +394,7 @@ void
rust_scheduler::place_task_in_tls(rust_task *task) {
BOOL result = TlsSetValue(task_key, task);
assert(result && "Couldn't place the task in TLS!");
task->record_stack_limit();
}
rust_task *