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

Avoid generating and writing bindings when called recursively #747

merged 1 commit into from
Mar 31, 2022


Copy link

@petrochenkov petrochenkov commented Mar 31, 2022

from a build script.

This PR implements the "automatic" solution to #746 (#746 (comment)).
Closes #746.

@emilio emilio merged commit aeb8193 into mozilla:master Mar 31, 2022
mhallin added a commit to mhallin/cbindgen that referenced this pull request May 25, 2024

      * Support rename rule for union body members (mozilla#751).
      * constant: Add support for associated constant expressions (mozilla#752).
      * Fix regression in CamelCase rename rule (should be lowerCamelCase) (mozilla#750).
      * enumeration: simplify standard types in variants (mozilla#749).
      * Avoid generating and writing bindings when called recursively (mozilla#747).
      * Cython: Omit per-variant tags in unions generated for Rust enums (mozilla#748).
      * Update various dependencies.

# Conflicts:
#	tests/rust/enum.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

_CBINDGEN_IS_RUNNING should be exposed and documented in some form
2 participants