about summary refs log tree commit diff
path: root/src/etc/combine-tests.py
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-01-30 14:10:03 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-01-30 14:30:42 -0800
commit83ced67d0b6cccb0de8f3df133f7b580db6f74c5 (patch)
tree057af423a943f5213ecfbc1f799973692a0dbd5b /src/etc/combine-tests.py
parentd73bf6295231115bed44d2dc452c9971a25f84c6 (diff)
downloadrust-83ced67d0b6cccb0de8f3df133f7b580db6f74c5.tar.gz
rust-83ced67d0b6cccb0de8f3df133f7b580db6f74c5.zip
librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and librustdoc. rs=deexporting
Diffstat (limited to 'src/etc/combine-tests.py')
-rwxr-xr-xsrc/etc/combine-tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py
index d6efcbc4642..8e1a916e2f1 100755
--- a/src/etc/combine-tests.py
+++ b/src/etc/combine-tests.py
@@ -37,14 +37,12 @@ stage2_tests.sort()
 c = open("tmp/run_pass_stage2.rc", "w")
 i = 0
 c.write("// AUTO-GENERATED FILE: DO NOT EDIT\n")
-c.write("#[legacy_exports];\n")
 c.write("#[link(name=\"run_pass_stage2\", vers=\"0.1\")];\n")
 for t in stage2_tests:
     p = os.path.join(run_pass, t)
     p = p.replace("\\", "\\\\")
     c.write("#[path = \"%s\"]" % p);
-    c.write("#[legacy_exports]");
-    c.write("mod t_%d;\n" % i)
+    c.write("pub mod t_%d;\n" % i)
     i += 1
 c.close()