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

Removed unneeded bindgen features #491

Merged
merged 2 commits into from Jan 19, 2021

Conversation

Kixunil
Copy link
Contributor

@Kixunil Kixunil commented Jan 13, 2021

Some features of bindgen are not needed when building the library and
lead to unused dependencies (mainly clap). This change deactivates all
bindgen features except for runtime which is required for build to
work.

This improved debug build time by ~13 seconds and (surprisingly) release
build time by ~9 seconds. But perhaps improved security is more
interesting.

I can post the outputs from -Z timings somewhere if you want, but I don't know where to put it to be accepted and rendered - LMK if you know of a good website. The files have above 200-250k.

I intend to backport this into 12.2 after it's accepted.

Some features of bindgen are not needed when building the library and
lead to unused dependencies (mainly `clap`). This change deactivates all
`bindgen` features except for `runtime` which is required for build to
work.

This improved debug build time by ~13 seconds and (surprisingly) release
build time by ~9 seconds. But perhaps improved security is more
interesting.
@aleksuss aleksuss merged commit ff5640a into rust-rocksdb:master Jan 19, 2021
SeeSpring added a commit to SeeSpring/z3.rs that referenced this pull request Dec 9, 2021
Some features of bindgen are not needed when building the library and
lead to unused dependencies (mainly `clap`). This change deactivates all
`bindgen` features except for `runtime` which is required for build to
work.

See also rust-rocksdb/rust-rocksdb#491
sameer pushed a commit to prove-rs/z3.rs that referenced this pull request Jan 20, 2022
Some features of bindgen are not needed when building the library and
lead to unused dependencies (mainly `clap`). This change deactivates all
`bindgen` features except for `runtime` which is required for build to
work.

See also rust-rocksdb/rust-rocksdb#491
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.

None yet

2 participants