Skip to content

Commit 3008550

Browse files
authored
Merge pull request #2479 from rust-lang/rustc-pull
Rustc pull update
2 parents 1d82e1e + 8aa7675 commit 3008550

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d1d8e386c5e84c4ba857f56c3291f73c27e2d62a
1+
bc4376fa73b636eb6f2c7d48b1f731d70f022c4b

src/autodiff/flags.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ To support you while debugging or profiling, we have added support for an experi
66

77
```text
88
PrintTA // Print TypeAnalysis information
9+
PrintTAFn // Print TypeAnalysis information for a specific function
910
PrintAA // Print ActivityAnalysis information
1011
Print // Print differentiated functions while they are being generated and optimized
1112
PrintPerf // Print AD related Performance warnings

src/tests/ui.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ used for many other purposes. For example, tests can also be configured to [run
1313
the resulting program](#controlling-passfail-expectations) to verify its
1414
behavior.
1515

16+
For a survey of each subdirectory's purpose under `tests/ui`, consult the
17+
[SUMMARY.md](https://github.com/rust-lang/rust/tree/master/tests/ui/SUMMARY.md).
18+
This is useful if you write a new test, and are looking for a category to
19+
place it in.
20+
1621
If you need to work with `#![no_std]` cross-compiling tests, consult the
1722
[`minicore` test auxiliary](./minicore.md) chapter.
1823

@@ -54,6 +59,11 @@ The output is normalized to ignore unwanted differences, see the
5459
[Normalization](#normalization) section. If the file is missing, then
5560
compiletest expects the corresponding output to be empty.
5661

62+
A common reason to use normalization, revisions, and most of the other following tools,
63+
is to account for platform differences. Consider alternatives to these tools, like
64+
e.g. using the `extern "rust-invalid"` ABI that is invalid on every platform
65+
instead of fixing the test to use cross-compilation and testing every possibly-invalid ABI.
66+
5767
There can be multiple stdout/stderr files. The general form is:
5868

5969
```text

0 commit comments

Comments
 (0)