mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
16 lines
254 B
Rust
16 lines
254 B
Rust
// 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()
|
|
});
|
|
}
|