feat: add support for platform specs #15

Merged
jakehamilton merged 2 commits from feat/platform-specs into main 2025-09-10 12:32:12 +00:00
Owner

This PR adds a new way of declaring supported platforms for packages. Previously individual build, host, and target values needed to be set for a given platform combination. Now, a platform spec can be written to generate many platform combinations.

This allows for easy mapping of all possible systems with @all, linux systems with @linux or any other available alias of lib.systems.doubles.<alias> by using @<alias>. In addition, you can use @build and @host to lock either the host or target respectively to match the prior platform.

This PR adds a new way of declaring supported platforms for packages. Previously individual build, host, and target values needed to be set for a given platform combination. Now, a platform spec can be written to generate many platform combinations. This allows for easy mapping of all possible systems with `@all`, linux systems with `@linux` or any other available alias of `lib.systems.doubles.<alias>` by using `@<alias>`. In addition, you can use `@build` and `@host` to lock either the host or target respectively to match the prior platform.
jakehamilton added 2 commits 2025-09-02 12:00:59 +00:00
jakehamilton force-pushed feat/platform-specs from b64f370317 to 900d934bb6 2025-09-10 12:17:25 +00:00 Compare
jakehamilton merged commit 2f31813c88 into main 2025-09-10 12:32:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: auxolotl/labs#15
No description provided.