Skip to main content

Module output_depinfo

Module output_depinfo 

Source
Expand description

dep-info files for external build system integration. See output_depinfo for more.

Re-exportsยง

use cargo_util::collections::HashSet; ๐Ÿ”’
use cargo_util::paths::normalize_path; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’
use std::io::BufWriter; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use super::BuildRunner; ๐Ÿ”’
use super::FileFlavor; ๐Ÿ”’
use super::Unit; ๐Ÿ”’
use super::fingerprint; ๐Ÿ”’
use crate::context::ConfigRelativePathResolveExt; ๐Ÿ”’
use crate::util::CargoResult; ๐Ÿ”’
use crate::util::internal; ๐Ÿ”’
use cargo_util::paths; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’

Functionsยง

add_deps_for_unit ๐Ÿ”’
Collects all dependencies of the unit for the output dep info file.
output_depinfo
Save a .d dep-info file for the given unit. This is the third kind of dep-info mentioned in fingerprint module.
render_filename ๐Ÿ”’
Basically just normalizes a given path and converts it to a string.