Skip to main content

find_template

Function find_template 

Source
fn find_template() -> Result<PathBuf>
Expand description

Locates the prebuilt runtime export template next to the running editor binary: first a templates/ subfolder (how a packaged editor release ships it), then flat next to the editor exe (how a local cargo build — which puts every workspace binary in the same target/<profile>/ directory — makes it available with no extra packaging step in dev).