Skip to content

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Oct 10, 2025

cfg(target_family = "...") can be set multiple times, and thus CARGO_CFG_TARGET_FAMILY can also contain comma-separated values, similar to CARGO_CFG_TARGET_FEATURE.

This allows cargo build --target wasm32-unknown-emscripten -p musl-math-sys to work, and will become more important if we were to add e.g. cfg(target_family = "darwin") in the future as discussed in rust-lang/rust#100343.

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

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

Thanks! Looks like loongarch features changed and half needs to update, I'll look into that later.

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