You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To expand a crate, cbindgen calls cargo on that crate. cbindgen can be called from a build.rs
file. But if cargo is called again, it will also call cbindgen again and hence end up in an
endless recursion.
This commit makes sure that cbindgen isn't called again if it is already running.
You can verify this fix with this minimal example https://github.com/vmx/cbindgen-expand-bugFixesmozilla#347.
0 commit comments