about summary refs log tree commit diff
path: root/src/rustc/back
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/back')
-rw-r--r--src/rustc/back/link.rs3
-rw-r--r--src/rustc/back/rpath.rs1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/rustc/back/link.rs b/src/rustc/back/link.rs
index c52b2c661ab..1cfb322e39c 100644
--- a/src/rustc/back/link.rs
+++ b/src/rustc/back/link.rs
@@ -65,9 +65,11 @@ fn WriteOutputFile(sess:session,
 }
 
 mod jit {
+    #[legacy_exports];
     #[nolink]
     #[abi = "rust-intrinsic"]
     extern mod rusti {
+        #[legacy_exports];
         fn morestack_addr() -> *();
     }
 
@@ -99,6 +101,7 @@ mod jit {
 }
 
 mod write {
+    #[legacy_exports];
     fn is_object_or_assembly_or_exe(ot: output_type) -> bool {
         if ot == output_type_assembly || ot == output_type_object ||
                ot == output_type_exe {
diff --git a/src/rustc/back/rpath.rs b/src/rustc/back/rpath.rs
index f115827b136..207a8f3fc94 100644
--- a/src/rustc/back/rpath.rs
+++ b/src/rustc/back/rpath.rs
@@ -181,6 +181,7 @@ fn minimize_rpaths(rpaths: &[Path]) -> ~[Path] {
 
 #[cfg(unix)]
 mod test {
+    #[legacy_exports];
     #[test]
     fn test_rpaths_to_flags() {
         let flags = rpaths_to_flags(~[Path("path1"),