pub fn validate_benchmark_exists(
crate_dir: &Path,
crate_name: &str,
function_name: &str,
) -> boolAvailable on crate feature
full only.Expand description
Validates that a benchmark function exists in the crate source
§Arguments
crate_dir- Path to the crate directory containing Cargo.tomlcrate_name- Name of the crate (used as prefix for the function names)function_name- The function name to validate (with or without crate prefix)
§Returns
true if the function is found, false otherwise