Skip to content

Commit

Permalink
Unrolled build for rust-lang#128038
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer committed Jul 22, 2024
2 parents 0f8534e + 6a9110a commit 115bf81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down
3 changes: 2 additions & 1 deletion tests/ui/lto/debuginfo-lto-alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 115bf81

Please sign in to comment.