File tree Expand file tree Collapse file tree 4 files changed +20
-8
lines changed
tests/run-make/metadata-dep-info Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ run-make/lto-smoke-c/Makefile
9898run-make/macos-deployment-target/Makefile
9999run-make/macos-fat-archive/Makefile
100100run-make/manual-link/Makefile
101- run-make/metadata-dep-info/Makefile
102101run-make/min-global-align/Makefile
103102run-make/mingw-export-call-convention/Makefile
104103run-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