macro_rules! relative_path {
($path: expr) => { ... };
}
Expand description
Get a path relative to the root directory (the one with Cargo.toml
) of the current crate.
Use in unit-tests to get test asset paths.
macro_rules! relative_path {
($path: expr) => { ... };
}
Get a path relative to the root directory (the one with Cargo.toml
) of the current crate.
Use in unit-tests to get test asset paths.