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/comm.rs | |
| parent | 60443d48881bfbc7a305e807390e74b327f100b8 (diff) | |
| download | rust-dffe188991325b4e803fdd0da7c1563ce0fa27f4.tar.gz rust-dffe188991325b4e803fdd0da7c1563ce0fa27f4.zip | |
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
Diffstat (limited to 'src/libcore/comm.rs')
| -rw-r--r-- | src/libcore/comm.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index cdf5224a071..b99eec8bb5b 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -275,6 +275,7 @@ type port_id = int; #[abi = "cdecl"] extern mod rustrt { + #[legacy_exports]; fn rust_port_id_send(target_port: port_id, data: *()) -> libc::uintptr_t; fn new_port(unit_sz: libc::size_t) -> *rust_port; @@ -297,6 +298,7 @@ extern mod rustrt { #[abi = "rust-intrinsic"] extern mod rusti { + #[legacy_exports]; fn init<T>() -> T; } |
