Support multiple versions in `bindgen!` (#7172)This commit fixes a bug in the `bindgen!` macro where when faced withmultiple packages that differ only in version number invalid bindingswere gener
Support multiple versions in `bindgen!` (#7172)This commit fixes a bug in the `bindgen!` macro where when faced withmultiple packages that differ only in version number invalid bindingswere generated. The fix here is to add version number information topackage module names if necessary in situations such as this. Thisrequired some refactoring internally to have a single source of truthfor what the name of a module should be and avoid having it implicitlycalculated in two locations.
show more ...