Set the resolver mapping `import("name")` to that module's source (default: the `PROGRAMS`-backed lookup). Pass `None` to disable import resolution entirely.
(&mut self, resolver: Option<ModuleResolver>)
| 328 | pub fn set_module_mangling(&mut self, enabled: bool) { |
| 329 | self.mangle_in_closure = enabled; |
| 330 | } |
| 331 | |
| 332 | fn module_key(path: &str) -> &str { |
| 333 | path.trim_start_matches("./").trim_end_matches(".hll") |
| 334 | } |
| 335 |
no outgoing calls