librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and librustdoc. rs=deexporting

This commit is contained in:
Patrick Walton
2013-01-30 14:10:03 -08:00
parent d73bf62952
commit 83ced67d0b
19 changed files with 213 additions and 256 deletions

View File

@@ -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()