about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJana Dönszelmann <jonathan@donsz.nl>2025-06-25 22:14:56 +0200
committerGitHub <noreply@github.com>2025-06-25 22:14:56 +0200
commit20e47aafcc7efa251fd1ff3afcbd2f529bdcece0 (patch)
tree376bb173767600c77eef818043aa12b3b5624675 /src/doc/rustc-dev-guide
parentda42289cd75487d0f75cafd7bbcc39c18aec8f83 (diff)
parentc24914ec8329b22ec7bcaa6ab534a784b2bd8ab9 (diff)
downloadrust-20e47aafcc7efa251fd1ff3afcbd2f529bdcece0.tar.gz
rust-20e47aafcc7efa251fd1ff3afcbd2f529bdcece0.zip
Rollup merge of #142992 - workingjubilee:dont-validate-naughty-abis, r=jieyouxu
Convert some ABI tests to use `extern "rust-invalid"`
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/ui.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md
index 8f4467a5551..09dc476d68e 100644
--- a/src/doc/rustc-dev-guide/src/tests/ui.md
+++ b/src/doc/rustc-dev-guide/src/tests/ui.md
@@ -59,6 +59,11 @@ The output is normalized to ignore unwanted differences, see the
 [Normalization](#normalization) section. If the file is missing, then
 compiletest expects the corresponding output to be empty.
 
+A common reason to use normalization, revisions, and most of the other following tools,
+is to account for platform differences. Consider alternatives to these tools, like
+e.g. using the `extern "rust-invalid"` ABI that is invalid on every platform
+instead of fixing the test to use cross-compilation and testing every possibly-invalid ABI.
+
 There can be multiple stdout/stderr files. The general form is:
 
 ```text