pub fn profraw_target_dir() -> PathBufExpand description
Resolve the llvm-cov-target directory for profraw output.
Cascade:
LLVM_COV_TARGET_DIR— explicit operator override.LLVM_PROFILE_FILE’s parent directory — when an outer harness (cargo-llvm-cov, or the cargo-ktstrLLVM_PROFILE_FILEinjection that prevents host-sidedefault.profrawleakage from thecargo ktstr testpath) has already pinned the output location.<current_exe parent>/llvm-cov-target/— workspace-local fallback so an instrumented binary invoked without any coordination still drops profraw next to the build output rather than in cwd.
pub rather than pub(crate) so the cargo-ktstr binary can
resolve the same directory before exec-ing cargo nextest run,
keeping host-side and guest-side profraw output co-located in
one tree without cargo-ktstr re-implementing the cascade.