Skip to main content

package_root

Function package_root 

Source
pub fn package_root() -> PathBuf
Expand description

Where the rule package lives, relative to this crate.

A path rather than include_str!, because the sources an embedder compiles are its user’s and arrive when the process starts. A binary that carried them inside itself would be cove build, which is a different thing with a different ADR.