pub fn compile_module_named(
src: &str,
frame: &[Text],
name: Option<ModuleName>,
) -> Result<Rc<ModuleData>, Error>Expand description
compile_module_framed, recording name as the canonical name the code came
from — what __Mod.name reports and what load_module deduplicates
instances by. Only a host that resolved the source knows the name, which is why
the plain entry points leave it unset.