MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / set_current_source_path

Method set_current_source_path

src/compilation_pipeline.rs:324–326  ·  view source on GitHub ↗

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>>)

Source from the content-addressed store, hash-verified

322 Err(diagnostics) => {
323 return PipelineResult {
324 diagnostics,
325 lex: None,
326 parse: None,
327 ir: None,
328 asm: None,
329 binary: None,

Callers 7

buildMethod · 0.80
cmd_hll_to_irFunction · 0.80
cmd_hll_to_asmFunction · 0.80
compileMethod · 0.80

Calls

no outgoing calls