Skip to main content

Module logger

Module logger 

Source
Expand description

Build analysis logging infrastructure.

Re-exportsยง

use std::cell::RefCell; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::io::BufWriter; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::mem::ManuallyDrop; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::sync::mpsc; ๐Ÿ”’
use std::sync::mpsc::Sender; ๐Ÿ”’
use std::thread::JoinHandle; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’
use cargo_util::paths; ๐Ÿ”’
use crate::CargoResult; ๐Ÿ”’
use crate::compiler::BuildConfig; ๐Ÿ”’
use crate::util::log_message::LogMessage; ๐Ÿ”’
use crate::util::short_hash; ๐Ÿ”’
use crate::workspace::Workspace; ๐Ÿ”’

Structsยง

BuildLogger
Logger for -Zbuild-analysis.
FileLogger ๐Ÿ”’
InMemoryLogger ๐Ÿ”’
For legacy cargo build --timings flag
RunId
A unique identifier for a Cargo invocation.