Skip to content

Commit 845829c

Browse files
committed
Parse code by source order.
1 parent bfc5b7f commit 845829c

16 files changed

+231
-100
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@
188188
* Updated `bitflags` dependency to 2.2.1. This changes the API of `CodegenConfig`.
189189
* Prettyplease formatting is gated by an optional, enabled by default Cargo
190190
feature when depending on `bindgen` as a library.
191+
* Items are now parsed in the order they appear in source files. This may result in
192+
auto-generated `_bindgen_*` names having a different index.
191193

192194
## Removed
193195

bindgen-tests/tests/expectations/tests/allowlist-file.rs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/jsval_layout_opaque.rs

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/jsval_layout_opaque_1_0.rs

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/layout_arp.rs

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/layout_array.rs

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/layout_eth_conf.rs

+25-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs

+25-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/namespace.rs

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/template_instantiation_with_fn_local_type.rs

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)