Skip to content

Conversation

NobodyXu
Copy link
Collaborator

@NobodyXu NobodyXu commented Apr 6, 2025

Fixed #1452

]), // explicit None if not found, so caller knows to fall back
"x86_64-unknown-linux-musl" => Some("x86_64-linux-musl"),
"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