Set the filesystem path of the source currently being compiled. Relative `import("./x.hll")` and `import("../x.hll")` resolve against this file's directory.
(&mut self, path: Option<impl Into<PathBuf>>)
| 322 | pub fn set_module_resolver(&mut self, resolver: Option<ModuleResolver>) { |
| 323 | self.module_resolver = resolver; |
| 324 | } |
| 325 | |
| 326 | /// Enable or disable per-module symbol mangling in `compile_program_closure` (default on). |
| 327 | /// The kernel disables it: its inline asm names HLL symbols literally and it links flat. |
| 328 | pub fn set_module_mangling(&mut self, enabled: bool) { |
| 329 | self.mangle_in_closure = enabled; |
no outgoing calls