File tree 2 files changed +6
-3
lines changed
run-make-fulldeps/incr-add-rust-src-component
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
// the cache while changing an untracked one doesn't.
3
3
4
4
// ignore-asmjs wasm2js does not support source maps yet
5
- // revisions:rpass1 rpass2 rpass3
5
+ // revisions:rpass1 rpass2 rpass3 rpass4
6
6
// compile-flags: -Z query-dep-graph
7
7
8
8
#![ feature( rustc_attrs) ]
9
9
10
10
#![ rustc_partition_codegened( module="commandline_args" , cfg="rpass2" ) ]
11
11
#![ rustc_partition_reused( module="commandline_args" , cfg="rpass3" ) ]
12
+ #![ rustc_partition_codegened( module="commandline_args" , cfg="rpass4" ) ]
12
13
13
14
// Between revisions 1 and 2, we are changing the debuginfo-level, which should
14
15
// 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:
16
18
//[rpass1] compile-flags: -C debuginfo=0
17
19
//[rpass2] compile-flags: -C debuginfo=2
18
20
//[rpass3] compile-flags: -C debuginfo=2 --verbose
21
+ //[rpass4] compile-flags: -C debuginfo=2 --verbose --remap-path-prefix=/home/bors/rust=src
19
22
20
23
pub fn main ( ) {
21
24
// empty
Original file line number Diff line number Diff line change 1
1
-include ../tools.mk
2
2
3
3
# 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.
5
5
6
6
# This test uses `ln -s` rather than copying to save testing time, but its
7
7
# usage doesn't work on windows. So ignore windows.
You can’t perform that action at this time.
0 commit comments