Skip to content

Commit fdef1d9

Browse files
authoredJul 22, 2024
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.
2 parents d484654 + 6a9110a commit fdef1d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ build/
5050
/target
5151
/src/bootstrap/target
5252
/src/tools/x/target
53-
/inc-fat/
5453
# Created by default with `src/ci/docker/run.sh`
5554
/obj/
5655
/rustc-ice*

‎tests/ui/lto/debuginfo-lto-alloc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
// that compilation is successful.
1010

1111
//@ check-pass
12-
//@ compile-flags: --test -C debuginfo=2 -C lto=fat -C incremental=inc-fat
12+
//@ compile-flags: --test -C debuginfo=2 -C lto=fat
13+
//@ incremental
1314

1415
extern crate alloc;
1516

0 commit comments

Comments
 (0)