Skip to content

Commit f5c9735

Browse files
authored
Merge pull request #2735 from rust-lang/rustc-pull
Rustc pull update
2 parents 64f0f77 + ceff9c0 commit f5c9735

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44a5b55557c26353f388400d7da95527256fe260
1+
5c49c4f7c8393c861b849441d27f5d40e0f1e33b

src/tests/compiletest.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ The following test suites are available, with links for more information:
7878

7979
[`run-make`](#run-make-tests) are general purpose tests using Rust programs.
8080

81+
### The build-std test suite
82+
83+
[`build-std`](#build-std-tests) tests that -Zbuild-std works.
84+
8185
### Rustdoc test suites
8286

8387
| Test suite | Purpose |
@@ -429,6 +433,14 @@ use cases that require testing in-tree `cargo` in conjunction with in-tree `rust
429433
The `run-make` test suite does not have access to in-tree `cargo` (so it can be the
430434
faster-to-iterate test suite).
431435

436+
### `build-std` tests
437+
438+
The tests in [`tests/build-std`] check that `-Zbuild-std` works. This is currently
439+
just a run-make test suite with a single recipe. The recipe generates test cases
440+
and runs them in parallel.
441+
442+
[`tests/build-std`]: https://github.com/rust-lang/rust/tree/HEAD/tests/build-std
443+
432444
#### Using Rust recipes
433445

434446
Each test should be in a separate directory with a `rmake.rs` Rust program,

src/tests/ui.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ prefixing each source line are replaced with `LL`). In extremely rare
139139
situations, this mode can be disabled with the directive `//@
140140
compile-flags: -Z ui-testing=no`.
141141

142+
When using `-Z ui-testing=no`, the `--diagnostic-width` argument should also
143+
be set to avoid tests failing or passing depending on the width of the terminal
144+
from which the UI test suite is being run.
145+
142146
Note: The line and column numbers for `-->` lines pointing to the test are *not*
143147
normalized, and left as-is. This ensures that the compiler continues to point to
144148
the correct location, and keeps the stderr files readable. Ideally all

0 commit comments

Comments
 (0)