diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:10:45 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:11:43 -0700 |
| commit | dffe188991325b4e803fdd0da7c1563ce0fa27f4 (patch) | |
| tree | e8f65929b804a38550dc9fdcf24021e6a7920304 /src/libcore/pipes.rs | |
| parent | 60443d48881bfbc7a305e807390e74b327f100b8 (diff) | |
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
Diffstat (limited to 'src/libcore/pipes.rs')
| -rw-r--r-- | src/libcore/pipes.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/pipes.rs b/src/libcore/pipes.rs index 3d40358dcc1..5b977080573 100644 --- a/src/libcore/pipes.rs +++ b/src/libcore/pipes.rs @@ -268,6 +268,7 @@ fn entangle_buffer<T: Send, Tstart: Send>( #[abi = "rust-intrinsic"] #[doc(hidden)] extern mod rusti { + #[legacy_exports]; fn atomic_xchg(dst: &mut int, src: int) -> int; fn atomic_xchg_acq(dst: &mut int, src: int) -> int; fn atomic_xchg_rel(dst: &mut int, src: int) -> int; @@ -308,6 +309,7 @@ type rust_task = libc::c_void; #[doc(hidden)] extern mod rustrt { + #[legacy_exports]; #[rust_stack] fn rust_get_task() -> *rust_task; #[rust_stack] @@ -1224,6 +1226,7 @@ fn try_send_one<T: Send>(+chan: ChanOne<T>, +data: T) } mod rt { + #[legacy_exports]; // These are used to hide the option constructors from the // compiler because their names are changing fn make_some<T>(+val: T) -> Option<T> { Some(move val) } @@ -1232,6 +1235,7 @@ mod rt { #[cfg(test)] mod test { + #[legacy_exports]; #[test] fn test_select2() { let (c1, p1) = pipes::stream(); |
