From 9e6ff44d9359ce062fb4f0e29c8f4c33eec7781e Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 8 Dec 2011 16:47:33 -0800 Subject: rt: Make __morestack work on win32 --- src/rt/rust_scheduler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rt/rust_scheduler.cpp') diff --git a/src/rt/rust_scheduler.cpp b/src/rt/rust_scheduler.cpp index 601a7c3f0ef..03567bbe19a 100644 --- a/src/rt/rust_scheduler.cpp +++ b/src/rt/rust_scheduler.cpp @@ -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 * -- cgit 1.4.1-3-g733a5