Skip to content
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

Reduce number of default supported_platform_triples for crate_universe #3239

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Feb 5, 2025

This should save substantial time for users of crate_universe as they don't need to do splicing for platforms they're not going to use. It's still recommended users explicitly set supported_platform_triples but my expectation with this change is that it covers most of the bases for users to still provide them with a sufficiently responsive experience compared to the 34 platforms that used to be in splicing.

@UebelAndre UebelAndre force-pushed the crate_universe_platforms branch from d8fc77e to 07dc52b Compare February 5, 2025 01:58
@UebelAndre
Copy link
Collaborator Author

@illicitonion I'm curious if this should just be a mandatory field. It impacts the lockfile so this change is gonna require everyone to repin. It previously changed anytime someone added a new platform and this would trigger another change.

You'll also notice I only updated the bzlmod extension. I think crates_vendor is fine to run all platforms as this workflow suggests updates are generally less frequent. If you object I can keep the workflows in sync.

@UebelAndre UebelAndre marked this pull request as ready for review February 5, 2025 02:34
Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Do we want to do this for WORKSPACE too?

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