File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
run-make-fulldeps/incr-add-rust-src-component Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 22// the cache while changing an untracked one doesn't.
33
44// ignore-asmjs wasm2js does not support source maps yet
5- // revisions:rpass1 rpass2 rpass3
5+ // revisions:rpass1 rpass2 rpass3 rpass4
66// compile-flags: -Z query-dep-graph
77
88#![ feature( rustc_attrs) ]
99
1010#![ rustc_partition_codegened( module="commandline_args" , cfg="rpass2" ) ]
1111#![ rustc_partition_reused( module="commandline_args" , cfg="rpass3" ) ]
12+ #![ rustc_partition_codegened( module="commandline_args" , cfg="rpass4" ) ]
1213
1314// Between revisions 1 and 2, we are changing the debuginfo-level, which should
1415// invalidate the cache. Between revisions 2 and 3, we are adding `--verbose`
15- // which should have no effect on the cache:
16+ // which should have no effect on the cache. Between revisions, we are adding
17+ // `--remap-path-prefix` which should invalidate the cache:
1618//[rpass1] compile-flags: -C debuginfo=0
1719//[rpass2] compile-flags: -C debuginfo=2
1820//[rpass3] compile-flags: -C debuginfo=2 --verbose
21+ //[rpass4] compile-flags: -C debuginfo=2 --verbose --remap-path-prefix=/home/bors/rust=src
1922
2023pub fn main ( ) {
2124 // empty
Original file line number Diff line number Diff line change 11-include ../tools.mk
22
33# rust-lang/rust#70924: Test that if we add rust-src component in between two
4- # incremetnal compiles, the compiler does not ICE on the second.
4+ # incremental compiles, the compiler does not ICE on the second.
55
66# This test uses `ln -s` rather than copying to save testing time, but its
77# usage doesn't work on windows. So ignore windows.
You can’t perform that action at this time.
0 commit comments