Rollup merge of #128038 - compiler-errors:inc-fat, r=oli-obk
Don't output incremental test artifacts into working directory Currently tests can ICE when the test spits out `inc-fat` incremental artifacts directly into the top of the git checkout, and then the compiler version changes, and it reads nonsense incremental artifacts on a subsequent test run. r? `@oli-obk` cc `@Oneirical,` I think you added this -- I think the right flag to add when porting `-Cincremental` run-make tests is to use `//@ incremental` rather than manually specifying the `-Cincremental` rustflag.
This commit is contained in:
commit
fdef1d9592
2 changed files with 2 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -50,7 +50,6 @@ build/
|
|||
/target
|
||||
/src/bootstrap/target
|
||||
/src/tools/x/target
|
||||
/inc-fat/
|
||||
# Created by default with `src/ci/docker/run.sh`
|
||||
/obj/
|
||||
/rustc-ice*
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
// that compilation is successful.
|
||||
|
||||
//@ check-pass
|
||||
//@ compile-flags: --test -C debuginfo=2 -C lto=fat -C incremental=inc-fat
|
||||
//@ compile-flags: --test -C debuginfo=2 -C lto=fat
|
||||
//@ incremental
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue