Skip to content

Commit 63a463e

Browse files
Sprinkle breadcrumbs around to lead people to the rust-invalid ABI
1 parent 86255ad commit 63a463e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tests/ui.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ The output is normalized to ignore unwanted differences, see the
5959
[Normalization](#normalization) section. If the file is missing, then
6060
compiletest expects the corresponding output to be empty.
6161

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+
6267
There can be multiple stdout/stderr files. The general form is:
6368

6469
```text

0 commit comments

Comments
 (0)