blob: 22c53fda4f396c33078cb873608f0c506bd1f23a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// xfail-fast - Somehow causes check-fast to livelock?? Probably because we're
// calling pin_task and that's having wierd side-effects.
#[abi = "cdecl"]
#[link_name = "rustrt"]
native mod rustrt1 {
fn pin_task();
}
#[abi = "cdecl"]
#[link_name = "rustrt"]
native mod rustrt2 {
fn pin_task();
}
fn main() {
rustrt1::pin_task();
rustrt2::pin_task();
}
|