diff options
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() {  | 
