File tree 4 files changed +20
-8
lines changed
tests/run-make/metadata-dep-info
4 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ run-make/macos-deployment-target/Makefile
101
101
run-make/macos-fat-archive/Makefile
102
102
run-make/manual-link/Makefile
103
103
run-make/many-crates-but-no-match/Makefile
104
- run-make/metadata-dep-info/Makefile
105
104
run-make/min-global-align/Makefile
106
105
run-make/mingw-export-call-convention/Makefile
107
106
run-make/mismatching-target-triples/Makefile
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ // Emitting dep-info alongside metadata would present subtle discrepancies
2
+ // in the output file, such as the filename transforming underscores_ into hyphens-.
3
+ // After the fix in #114750, this test checks that the emitted files are identical
4
+ // to the expected output.
5
+ // See https://github.com/rust-lang/rust/issues/68839
6
+
7
+ use run_make_support:: { diff, rustc} ;
8
+
9
+ fn main ( ) {
10
+ rustc ( )
11
+ . emit ( "metadata,dep-info" )
12
+ . crate_type ( "lib" )
13
+ . input ( "dash-separated.rs" )
14
+ . extra_filename ( "_something-extra" )
15
+ . run ( ) ;
16
+ diff ( )
17
+ . expected_file ( "dash-separated_something-extra.expected.d" )
18
+ . actual_file ( "dash-separated_something-extra.d" )
19
+ . run ( ) ;
20
+ }
You can’t perform that action at this time.
0 commit comments