fn cargo_target_directory() -> Option<PathBuf>
Returns the Cargo target directory, possibly calling cargo metadata to figure it out.
cargo metadata