diff options
| author | Chris Sainty <csainty@hotmail.com> | 2013-10-15 07:21:54 +0200 |
|---|---|---|
| committer | Chris Sainty <csainty@hotmail.com> | 2013-10-17 06:22:48 +0200 |
| commit | 88ab38cf060b794f3c4c3572cee7ca25354946d6 (patch) | |
| tree | 5f1e75001a7090035eb1da0e01dcb3bf80e554d9 /src/libstd | |
| parent | 1f279bf9ca835bf9b50c5c27098b4805ed7139e8 (diff) | |
| download | rust-88ab38cf060b794f3c4c3572cee7ca25354946d6.tar.gz rust-88ab38cf060b794f3c4c3572cee7ca25354946d6.zip | |
Removed the -Z once_fns compiler flag and added the new feature directive of the same name to replace it.
Changed the frame_address intrinsic to no longer be a once fn. This removes the dependency on once_fns from std.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 7cda2b109d9..dee21762a30 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -331,7 +331,8 @@ extern "rust-intrinsic" { pub fn visit_tydesc(td: *TyDesc, tv: &mut TyVisitor); - pub fn frame_address(f: &once fn(*u8)); + #[cfg(not(stage0))] + pub fn frame_address(f: &fn(*u8)); /// Get the address of the `__morestack` stack growth function. pub fn morestack_addr() -> *(); |
