Add intrinsic declaration where I missed them

This commit is contained in:
James Miller 2013-05-09 23:16:07 +12:00
parent 57509709b4
commit 414970c46f
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@ use core::old_iter::BaseIter;
extern "rust-intrinsic" mod rusti {
fn move_val_init<T>(dst: &mut T, src: T);
fn init<T>() -> T;
#[cfg(not(stage0))]
fn uninit<T>() -> T;
}
pub struct PriorityQueue<T> {

View File

@ -114,6 +114,8 @@ mod test_rc {
#[abi = "rust-intrinsic"]
extern "rust-intrinsic" mod rusti {
fn init<T>() -> T;
#[cfg(not(stage0))]
fn uninit<T>() -> T;
}
#[deriving(Eq)]