Skip to main content

Module compilation

Module compilation 

Source
Expand description

Type definitions for the result of a compilation.

Re-exportsยง

use cargo_util::collections::HashMap; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’
use std::ffi::OsStr; ๐Ÿ”’
use std::ffi::OsString; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::rc::Rc; ๐Ÿ”’
use cargo_platform::CfgExpr; ๐Ÿ”’
use cargo_util::ProcessBuilder; ๐Ÿ”’
use cargo_util::paths; ๐Ÿ”’
use crate::compiler::BuildContext; ๐Ÿ”’
use crate::compiler::CompileTarget; ๐Ÿ”’
use crate::compiler::RustdocFingerprint; ๐Ÿ”’
use crate::compiler::apply_env_config; ๐Ÿ”’
use crate::compiler::CompileKind; ๐Ÿ”’
use crate::compiler::Unit; ๐Ÿ”’
use crate::compiler::UnitHash; ๐Ÿ”’
use crate::context::ConfigRelativePathResolveExt; ๐Ÿ”’
use crate::util::CargoResult; ๐Ÿ”’
use crate::util::GlobalContext; ๐Ÿ”’
use crate::workspace::Package; ๐Ÿ”’

Structsยง

Compilation
A structure returning the result of a compilation.
Doctest
Structure with enough information to run rustdoc --test.
UnitOutput
Information about the output of a unit.

Enumsยง

ToolKind ๐Ÿ”’
Represents the kind of process we are creating.

Functionsยง

explicit_host_kind ๐Ÿ”’
fill_rustc_tool_env ๐Ÿ”’
Prepares a rustc_tool process with additional environment variables that are only relevant in a context that has a unit
get_sysroot_target_libdir ๐Ÿ”’
target_linker ๐Ÿ”’
Gets the user-specified linker for a particular host or target from the configuration.
target_runner ๐Ÿ”’