MCPcopy Create free account
hub / github.com/Botloader/botloader / create_module_map

Function create_module_map

components/runtime/src/jsmodules.rs:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9include!(concat!(env!("OUT_DIR"), "/module_map.rs"));
10
11pub fn create_module_map() -> Vec<ModuleEntry> {
12 MODULE_MAP
13 .iter()
14 .map(|(name, source)| ModuleEntry {
15 source,
16 specifier: name.clone(),
17 })
18 .collect()
19}

Callers 2

create_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected