File tree 4 files changed +14
-7
lines changed
4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -120,5 +120,4 @@ run-make/test-benches/Makefile
120
120
run-make/thumb-none-cortex-m/Makefile
121
121
run-make/thumb-none-qemu/Makefile
122
122
run-make/translation/Makefile
123
- run-make/unstable-flag-required/Makefile
124
123
run-make/x86_64-fortanix-unknown-sgx-lvi/Makefile
Original file line number Diff line number Diff line change 3
3
// in a dependency chain.
4
4
// See https://github.com/rust-lang/rust/issues/12146
5
5
6
- use run_make_support:: { fs_wrapper , rust_lib_name, rustc} ;
6
+ use run_make_support:: { rfs , rust_lib_name, rustc} ;
7
7
8
8
fn main ( ) {
9
9
rustc ( ) . crate_type ( "rlib" ) . input ( "crateA.rs" ) . run ( ) ;
10
10
rustc ( ) . crate_type ( "rlib" ) . input ( "crateB.rs" ) . run ( ) ;
11
- fs_wrapper :: remove_file ( rust_lib_name ( "crateA" ) ) ;
11
+ rfs :: remove_file ( rust_lib_name ( "crateA" ) ) ;
12
12
// Ensure that crateC fails to compile, as the crateA dependency is missing.
13
13
rustc ( )
14
14
. input ( "crateC.rs" )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // The flag `--output-format` is unauthorized on beta and stable releases, which led
2
+ // to confusion for maintainers doing testing on nightly. Tying it to an unstable flag
3
+ // elucidates this, and this test checks that `--output-format` cannot be passed on its
4
+ // own.
5
+ // See https://github.com/rust-lang/rust/pull/82497
6
+
7
+ use run_make_support:: { diff, rustdoc} ;
8
+
9
+ fn main ( ) {
10
+ let out = rustdoc ( ) . output_format ( "json" ) . input ( "x.html" ) . run_fail ( ) . stderr_utf8 ( ) ;
11
+ diff ( ) . expected_file ( "output-format-json.stderr" ) . actual_text ( "actual-json" , out) . run ( ) ;
12
+ }
You can’t perform that action at this time.
0 commit comments