rust/src/test/run-pass/task-pin.rs

11 lines
175 B
Rust

/**
Exercises task pinning and unpinning. Doesn't really ensure it
works, just makes sure it runs.
*/
use std;
import task;
fn main() { task::pin(); task::unpin(); }