-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Forbid //@ compile-flags: -Cincremental=
in tests
#147221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Tests should not try to manually enable incremental compilation with `-Cincremental`, because that typically results in stray directories being created in the repository root. Instead, use the `//@ incremental` directive, which instructs compiletest to handle the details of passing `-Cincremental` with a fresh directory.
Some changes occurred in src/tools/compiletest cc @jieyouxu |
r? @SparrowLii rustbot has assigned @SparrowLii. Use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 , r=me when unblocked
The job Click to see the possible cause of the failure (guessed by this bot)
|
We should also change ui tests to not run tests under... weird places, but that's for another PR. |
This fixes #128057. |
Tests should not try to manually enable incremental compilation with
-Cincremental
, because that typically results in stray directories being created in the repository root.Instead, use the
//@ incremental
directive, which instructs compiletest to handle the details of passing-Cincremental
with a fresh directory.