Skip to main content

corpus_root

Function corpus_root 

Source
pub fn corpus_root() -> PathBuf
Expand description

Returns the absolute path to the corpus root directory.

Resolves relative to CARGO_MANIFEST_DIR’s ancestor that contains tests/corpus/. Works from any crate in the workspace.