Skip to content

Auto-enable required features for uniffi-bindgen#2886

Merged
messense merged 2 commits intoPyO3:mainfrom
e-nomem:uniffi-bindgen-features
Dec 3, 2025
Merged

Auto-enable required features for uniffi-bindgen#2886
messense merged 2 commits intoPyO3:mainfrom
e-nomem:uniffi-bindgen-features

Conversation

@e-nomem
Copy link
Copy Markdown
Contributor

@e-nomem e-nomem commented Dec 3, 2025

I'm not sure if the behavior here should be to plumb in the enabled features from the higher levels of maturin to honor the explicitly selected features from the user or to just automatically enable the required features to run the uniffi-bindgen binary. I went with the second option here mostly because it's easier.

Fixes #2806

@e-nomem e-nomem changed the title Auto-enable required featues for uniffi-bindgen Auto-enable required features for uniffi-bindgen Dec 3, 2025
@messense messense merged commit 7de7bc8 into PyO3:main Dec 3, 2025
44 of 45 checks passed
@e-nomem e-nomem deleted the uniffi-bindgen-features branch December 3, 2025 05:25
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.

UniFFI codegen: cargo run --bin uniffi-bindgen ignores [tool.maturin].features and cargo-extra-args

2 participants