graydon/rust — Issue #1182: Two intrinsics call C functions on the Rust stack
Author: brson
Created: 2011-11-16 23:33:42+00:00
State: open
Labels: bug, rt

rust_intrinsic_recv and rust_intrinsic_task_sleep both call functions in rustrt, which means they are calling functions on the Rust stack without doing the stack check. rust_intrinsic_recv can be rewritten as a regular builtin, and rust_intrinsic_task_sleep needs to do everything inline.