Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// run-pass
// ignore-emscripten no threads support
use std::sync::mpsc::channel;
use std::thread;
pub fn main() {
let (tx, rx) = channel();
tx.send("hello, world").unwrap();
thread::spawn(move|| {
println!("{}", rx.recv().unwrap());
}).join().ok().unwrap();
}