Skip to content

RFC: Allow packages to specify a set of supported targets#3759

Open
carloskiki wants to merge 65 commits intorust-lang:masterfrom
carloskiki:master
Open

RFC: Allow packages to specify a set of supported targets#3759
carloskiki wants to merge 65 commits intorust-lang:masterfrom
carloskiki:master

Conversation

@carloskiki
Copy link

@carloskiki carloskiki commented Jan 8, 2025

Summary

The addition of supported-targets to Cargo.toml. This field is an array of target-triple/cfg specifications that restricts the set of targets which a package supports. Packages must meet the supported-targets of their dependencies, and they can only be built for targets that satisfy their supported-targets.

Rendered
FCP

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

disposition-merge This RFC is in PFCP or FCP with a disposition to merge it. proposed-final-comment-period Currently awaiting signoff of all team members in order to enter the final comment period. T-cargo Relevant to the Cargo team, which will review and decide on the RFC.

Projects

Status: FCP blocked

Development

Successfully merging this pull request may close these issues.