diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-04-07 17:52:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 17:52:56 -0500 |
commit | 9d362ef03191f4c493843a6c29ddc4c057a49218 (patch) | |
tree | 0231bf637b1d9a24bdafd5ee9eab649c63b20824 /src/codegen/helpers.rs | |
parent | 946335be2928f5dcb14e4d934bbecde14d2e2ffa (diff) | |
parent | 5004ed43b27d2ec7764829d937ea515f7bc796ba (diff) |
Auto merge of #618 - fitzgen:extra-assertions, r=emilio
Extra assertions and cargo features
* Clean up testing-only cargo features
This commit ensures that all of the cargo features we have that only exist for
CI/testing purposes, and aren't for external consumption, have a "testing_only_"
prefix.
* Define extra assertion macros
This commit defines a new set of assertion macros that are only checked in
testing/CI when the `testing_only_extra_assertions` feature is enabled. This
makes it so that *users* of bindgen that happen to be making a debug build don't
enable all these extra and expensive assertions.
Additionally, this removes the `testing_only_assert_no_dangling_items` feature,
and runs the assertions that were previously gated on that feature when the new
`testing_only_extra_assertions` feature is enabled.
r? @emilio
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions