Skip to content

Fix musl compilation: Add musl as a prefix fallback #1453

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

NobodyXu
Copy link
Collaborator

@NobodyXu NobodyXu commented Apr 6, 2025

Fixed #1452

@@ -3514,8 +3520,13 @@ impl Build {
"x86_64-unknown-netbsd" => Some("x86_64--netbsd"),
_ => None,
Copy link
Collaborator

@madsmtm madsmtm Apr 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think all of this might be unnecessary? We should just use:

"x86_64-unknown-linux-musl" => self.find_working_gnu_prefix(&["x86_64-linux-musl", "musl"]),

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I will open another PR for this (since it's easier to start from scratch)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superseded by #1455

@NobodyXu NobodyXu closed this Apr 7, 2025
@NobodyXu NobodyXu deleted the fix/musl-fallback branch April 7, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fallback for the x86-64-linux-musl-gcc is not available and cause build failures
2 participants