add implicit ctx
This commit is contained in:
parent
e308f3346b
commit
d69a83b021
@ -9,6 +9,6 @@ native "cdecl" mod rustrt {
|
||||
fn task_yield();
|
||||
}
|
||||
|
||||
fn yield_wrap() { rustrt::task_yield(); }
|
||||
fn yield_wrap(&&_arg: ()) { rustrt::task_yield(); }
|
||||
|
||||
fn main() { task::spawn((), yield_wrap); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user