Skip to content

Conversation

bet4it
Copy link

@bet4it bet4it commented May 18, 2025

When using cargo-zigbuild, target triples may include additional suffixes like glibc versions (e.g. aarch64-unknown-linux-gnu.2.17). This change strips any suffix after the dot to ensure compatibility with rustc, which only accepts standard target triples.

@davidhewitt
Copy link
Member

@messense does this seem correct to you? Seems to me like cargo-zigbuild might be passing the wrong information down rather than applying a patch here? 🤔

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.

2 participants