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

Prevent bindings generation for normal cargo projects. #260

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

peterhuene
Copy link
Member

This PR prevents bindings from being generated for "normal" cargo project.

Bindings will be generated if the project contains a [package.metadata.component] section in Cargo.toml or if it contains a wit subdirectory.

Fixes #258.

This commit prevents bindings from being generated for "normal" cargo project.

Bindings will be generated if the project contains a
`[package.metadata.component]` section in `Cargo.toml` or if it contains a
`wit` subdirectory.

Fixes bytecodealliance#258.
@peterhuene peterhuene merged commit 74dbfab into bytecodealliance:main Mar 13, 2024
6 checks passed
@peterhuene peterhuene deleted the fix-bindings branch March 13, 2024 18:57
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.

cargo component build --workspace generates bindings.rs for non-WIT members
2 participants