Skip to content

Add target vendor configuration for Apple - #754

Open
xtqqczze wants to merge 2 commits into
servo:mainfrom
xtqqczze:target-apple
Open

xtqqczze wants to merge 2 commits into
servo:mainfrom
xtqqczze:target-apple

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Add target_vendor = "apple" configuration consistently across the workspace.

These crates provide bindings to Apple frameworks, so they should only be built for Apple targets.

Previously, the dependencies and crate contents were not gated on the target platform. This meant Cargo could attempt to compile the crates, even when the target was not an Apple platform.

Closes #506

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.

1 participant