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

[pull] master from rust-lang:master #157

Open
wants to merge 541 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 25, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Aug 25, 2021
samueltardieu and others added 29 commits March 14, 2023 12:17
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
github-actions bot and others added 28 commits October 2, 2023 20:09
* Add `ParseCallbacks::input_file`

* Make `CargoCallbacks` configurable

* Use the `input_file` callback with every header

* Fix docs

* Rename callback to `header_file` for clarity

* Update CHANGELOG.md

* Run rustfmt
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>
* Fix unused cfg attributes

* Fix check-cfg workflow
* 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
@pvdrz pvdrz deleted the branch Pandinosaurus:master November 2, 2023 17:50
@pvdrz pvdrz deleted the master branch November 2, 2023 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.