12 lines
140 B
Rust
12 lines
140 B
Rust
/*
|
|
Can we bind native things?
|
|
*/
|
|
|
|
//xfail-test
|
|
|
|
native "rust" mod rustrt {
|
|
fn task_yield();
|
|
}
|
|
|
|
fn main() { bind rustrt::task_yield(); }
|