forked from rust-lang/rust-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from rust-lang:master #157
Open
pull
wants to merge
541
commits into
Pandinosaurus:master
Choose a base branch
from
rust-lang:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This makes the code more complex than needed. Part of a clippy lint being developed.
* Avoid emiting old-style C declarations * Update Changelog
* add(doc/contributing): rustfmt +nightly, prerequisites section * update(doc/contributing): doctoc update
* Add `generated_link_name_override` method for `ParseCallbacks`. `generated_link_name_override` lets the developer choose the link name for a symbol. If a link name is specified, the attribute `#[link_name = "\u{1}VALUE"]` will be set, overriding any other potential link name, including the mangled name. This commit also adds an option to the bindgen cli called `prefix-link-name`, to prefix the link name of exported symbols. I think this should properly solve #1375. * Fix expectation file for `prefix-link-name-c`. * Fix expectation file for `prefix-link-name-cpp` * Add a new `parse_callbacks` callback to solve the roundtrip test.
* WIP: Allow to set default visibility of structs and their fields. * Also change visibility of NewType types * Add CLI flag `--default-visibility` * Fix clippy warning * Fix roundtrip * Add tests * Run rustfmt * Update method and flag descriptions * Test bitfields too * Update changelog --------- Co-authored-by: Christian Poveda <[email protected]>
* Remove typos from CLI docs * Include `override_abi` as a regex based option * Document that `--no-copy` also removes `Clone`
* Use location comments before the declaration ones * Add tests * Update changelog
This PR removes some ad-hoc error propagation that the CLI parser had for more sophisticated arguments and just uses `clap::Error` for everything.
While playing with bindgen, I noticed that the entry for allowlist-item is missing from the official doc. This patch helps add it. I've checked that the doc for allowlist_* and blocklist_* are correct.
* use latest cargo-dist * windows executables fail to build
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.36.7 to 0.36.16. - [Release notes](https://github.com/bytecodealliance/rustix/releases) - [Commits](bytecodealliance/rustix@v0.36.7...v0.36.16) --- updated-dependencies: - dependency-name: rustix dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* space to breath * publish from GitHub Releases * Apply suggestions from code review
* fix(args): make header argument optional fixes #2677 * refactor(args): avoid using type aliases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )