Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tests: Skip supported-crate-types test on musl hosts#144144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Gelbpunkt wants to merge1 commit intorust-lang:master
base:master
Choose a base branch
Loading
fromGelbpunkt:musl-crate-types-test

Conversation

Gelbpunkt
Copy link
Contributor

@GelbpunktGelbpunkt commentedJul 18, 2025
edited
Loading

This test depends on the target-specific default of crt-static for musl targets. However, running the testsuite on a musl host requires settingcrt-static tofalse, 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 ofcrt-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.

This test depends on the target-specific behavior of crt-static for musltargets. However, running the testsuite on a musl host requiressetting `crt-static` to `false`, as it wouldn't otherwise be possible tobuild rustc. This in turn will enable `-Ctarget-feature=-crt-static` forall tests, mismatching the expected `+crt-static` for the musl targettested in this testcase.Since this test specifically tests the default value of `crt-static` forthe musl target, ignoring it entirely makes more sense than manuallysetting `-Ctarget-feature=+crt-static` here, but both would be validapproaches.Signed-off-by: Jens Reidel <adrian@travitia.xyz>
@rustbot
Copy link
Collaborator

r?@SparrowLii

rustbot has assigned@SparrowLii.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

User? to explicitly pick a reviewer

@rustbotrustbot added S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties. T-compilerRelevant to the compiler team, which will review and decide on the PR/issue. labelsJul 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@SparrowLiiSparrowLii

Labels
S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Gelbpunkt@rustbot@SparrowLii

[8]ページ先頭

©2009-2025 Movatter.jp