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/sys.rs | |
| parent | 60443d48881bfbc7a305e807390e74b327f100b8 (diff) | |
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
Diffstat (limited to 'src/libcore/sys.rs')
| -rw-r--r-- | src/libcore/sys.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/sys.rs b/src/libcore/sys.rs index a541e6de7c5..37403213ab2 100644 --- a/src/libcore/sys.rs +++ b/src/libcore/sys.rs @@ -38,6 +38,7 @@ struct Closure { #[abi = "rust-intrinsic"] extern mod rusti { + #[legacy_exports]; fn get_tydesc<T>() -> *(); fn size_of<T>() -> uint; fn pref_align_of<T>() -> uint; @@ -111,6 +112,7 @@ pure fn log_str<T>(t: &T) -> ~str { #[cfg(test)] mod tests { + #[legacy_exports]; #[test] fn size_of_basic() { |
