Closed as not planned
Description
#96777 was necessary because a test used both -Zsave-analysis and run-pass. That generated an untracked save-analysis-temp
file in the root directory. That behavior is not great - we shouldn't do that even if the test is marked run-pass. We can avoid it by passing --out-dir config.build_base
in compiletest:
rust/src/tools/compiletest/src/runtest.rs
Lines 1895 to 1907 in fee75fb
We should also investigate why this wasn't caught by CI - it makes the source directory read only, which should have prevented this being merged.
@rustbot label +E-easy +A-testsuite +E-mentor
Metadata
Metadata
Assignees
Labels
Area: saving results of analyses such as inference and borrowck results to a file.Area: The testsuite used to check the correctness of rustcCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.