about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/reference-shrink.js
diff options
context:
space:
mode:
authorJens Reidel <adrian@travitia.xyz>2025-07-18 18:33:26 +0200
committerJens Reidel <adrian@travitia.xyz>2025-07-18 19:05:32 +0200
commitd1a146bbbbe2de47b77aacf3cb47eb79eb39338b (patch)
treea405bd17e6ee2aaf79d297deef6d62672bf1712f /tests/rustdoc-js-std/reference-shrink.js
parent9cd918bcbbc26deb005eb4e1bd9a445380195e56 (diff)
downloadrust-d1a146bbbbe2de47b77aacf3cb47eb79eb39338b.tar.gz
rust-d1a146bbbbe2de47b77aacf3cb47eb79eb39338b.zip
tests: Skip supported-crate-types test on musl hosts
This test depends on the target-specific behavior of crt-static for musl
targets. However, running the testsuite on a musl host requires
setting `crt-static` to `false`, as it wouldn't otherwise be possible to
build rustc. This in turn will enable `-Ctarget-feature=-crt-static` for
all tests, mismatching the expected `+crt-static` for the musl target
tested in this testcase.

Since this test specifically tests the default value of `crt-static` for
the musl target, ignoring it entirely makes more sense than manually
setting `-Ctarget-feature=+crt-static` here, but both would be valid
approaches.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Diffstat (limited to 'tests/rustdoc-js-std/reference-shrink.js')
0 files changed, 0 insertions, 0 deletions