blob: a429d8fabc72b0741db06316400ce1d92b2502f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// run-pass
// aux-build:weak-lang-items.rs
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
extern crate weak_lang_items as other;
use std::thread;
fn main() {
let _ = thread::spawn(move|| {
other::foo()
});
}
|