about summary refs log tree commit diff
path: root/tests/codegen/enum/enum-discriminant-eq.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-07-20 23:11:20 -0400
committerGitHub <noreply@github.com>2025-07-20 23:11:20 -0400
commit9fdfaef4031fc1079c075a5be33705e9b370bb8e (patch)
treea0450b666472c41795af5d3e0dd1c74eb7138352 /tests/codegen/enum/enum-discriminant-eq.rs
parent460259d14de0274b97b8801e08cb2fe5f16fdac5 (diff)
parentd1a146bbbbe2de47b77aacf3cb47eb79eb39338b (diff)
downloadrust-9fdfaef4031fc1079c075a5be33705e9b370bb8e.tar.gz
rust-9fdfaef4031fc1079c075a5be33705e9b370bb8e.zip
Rollup merge of #144144 - Gelbpunkt:musl-crate-types-test, r=compiler-errors
tests: Skip supported-crate-types test on musl hosts

This test depends on the target-specific default 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.
Diffstat (limited to 'tests/codegen/enum/enum-discriminant-eq.rs')
0 files changed, 0 insertions, 0 deletions