Skip to content

Commit 6184592

Browse files
committed
rewrite unstable-flag-required to rmake
1 parent 85dbe02 commit 6184592

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,4 @@ run-make/test-benches/Makefile
129129
run-make/thumb-none-cortex-m/Makefile
130130
run-make/thumb-none-qemu/Makefile
131131
run-make/translation/Makefile
132-
run-make/unstable-flag-required/Makefile
133132
run-make/x86_64-fortanix-unknown-sgx-lvi/Makefile

tests/run-make/unstable-flag-required/Makefile

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

0 commit comments

Comments
 (0)