librustc: Make &fn by-copy by default and remove the mode from frame_address.

This commit is contained in:
Patrick Walton
2013-04-22 21:54:29 -07:00
parent 17723d18de
commit a12a3db5b4
3 changed files with 4 additions and 9 deletions

View File

@@ -93,7 +93,10 @@ pub mod rustrt {
pub mod rusti {
#[abi = "rust-intrinsic"]
pub extern "rust-intrinsic" {
#[cfg(stage0)]
pub fn frame_address(f: &once fn(x: *u8));
#[cfg(not(stage0))]
pub fn frame_address(+f: &once fn(x: *u8));
}
}