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

Run uniffi-bindgen command instead of depending on uniffi_bindgen crates #1352

Merged
merged 4 commits into from
Dec 13, 2022

Conversation

messense
Copy link
Member

@messense messense commented Dec 13, 2022

uniffi_bindgen crate is too heavy weight and people uses uniffi usually have already installed uniffi-bindgen.

Part of #1337, reduces --no-default-features compile time on M2 MacBook Air from 26.2s to 22.3s.

@netlify
Copy link

netlify bot commented Dec 13, 2022

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit a5ea984
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/63980d59fa112c000958b597
😎 Deploy Preview https://deploy-preview-1352--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@messense messense added this to the 1.0.0 milestone Dec 13, 2022
… crate

`uniffi_bindgen` crate is too heavy weight.
@messense
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Dec 13, 2022
1352: Run `uniffi-bindgen` command instead of depending on `uniffi_bindgen` crates r=messense a=messense

`uniffi_bindgen` crate is too heavy weight and people uses `uniffi` usually have already installed uniffi-bindgen.

Part of #1337, reduces `--no-default-features` compile time on M2 MacBook Air from 26.2s to 22.3s.

Co-authored-by: messense <messense@icloud.com>
@bors
Copy link
Contributor

bors bot commented Dec 13, 2022

Build failed:

@messense
Copy link
Member Author

bors retry

@bors
Copy link
Contributor

bors bot commented Dec 13, 2022

@bors bors bot merged commit ee02e5b into PyO3:main Dec 13, 2022
@messense messense deleted the uniffi-bindgen-cmd branch December 19, 2022 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings/uniffi uniffi bindings breaking-change Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant