macro_rules! current_dir {
() => { ... };
}Expand description
Find the directory for your source file
By default, a heuristic is used.
To override the heuristic, add to $WORKSPACE_ROOT/.cargo/config.toml:
[env]
CARGO_RUSTC_CURRENT_DIR = { value = "", relative = true }