File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -404,6 +404,18 @@ Two `run-make` tests are ported over to Rust recipes as examples:
404404- < https://github.com/rust-lang/rust/tree/master/tests/run-make/CURRENT_RUSTC_VERSION >
405405- < https://github.com/rust-lang/rust/tree/master/tests/run-make/a-b-a-linker-guard >
406406
407+ #### Quickly check if ` rmake.rs ` tests can be compiled
408+
409+ You can quickly check if ` rmake.rs ` tests can be compiled without having to
410+ build stage1 rustc by forcing ` rmake.rs ` to be compiled with the stage0
411+ compiler:
412+
413+ ``` bash
414+ $ COMPILETEST_FORCE_STAGE0=1 x test --stage 0 tests/run-make/< test-name>
415+ ```
416+
417+ Of course, some tests will not successfully * run* in this way.
418+
407419#### Using Makefiles (legacy)
408420
409421> NOTE:
You can’t perform that action at this time.
0 commit comments