Fix test that was using rust_task_allow_kill incorrectly
This commit is contained in:
parent
d162fa26ba
commit
9b2d988df0
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
/*
|
/*
|
||||||
A reduced test case for Issue #506, provided by Rob Arnold.
|
A reduced test case for Issue #506, provided by Rob Arnold.
|
||||||
|
|
||||||
|
Testing spawning foreign functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
@ -7,7 +9,7 @@ import task;
|
||||||
|
|
||||||
#[abi = "cdecl"]
|
#[abi = "cdecl"]
|
||||||
extern mod rustrt {
|
extern mod rustrt {
|
||||||
fn rust_task_allow_kill();
|
fn unsupervise();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() { task::spawn(rustrt::rust_task_allow_kill); }
|
fn main() { task::spawn(rustrt::unsupervise); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue