2011-08-13 17:20:11 -05:00
|
|
|
/*
|
|
|
|
Can we bind native things?
|
|
|
|
*/
|
|
|
|
|
2011-11-08 13:09:40 -06:00
|
|
|
native "c-stack-cdecl" mod rustrt {
|
2011-11-08 16:26:16 -06:00
|
|
|
fn task_sleep();
|
2011-08-13 17:20:11 -05:00
|
|
|
}
|
|
|
|
|
2011-11-08 16:26:16 -06:00
|
|
|
fn main() { bind rustrt::task_sleep(); }
|