about summary refs log tree commit diff
path: root/tests/ui/compiletest-self-test/compile-flags-incremental.rs
AgeCommit message (Collapse)AuthorLines
2025-10-02Forbid `//@ compile-flags: -Cincremental=` in testsZalathar-0/+17
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.