wit_bindgen_core

Function name_package_module

Source
pub fn name_package_module(resolve: &Resolve, id: PackageId) -> String
Expand description

If the package id is the only package with its namespace/name combo then pass through the name unmodified. If, however, there are multiple versions of this package then the package module is going to get version information.