Skip to main content

Module target

Module target 

Source

Re-exportsยง

use super::CV; ๐Ÿ”’
use super::ConfigKey; ๐Ÿ”’
use super::ConfigRelativePath; ๐Ÿ”’
use super::GlobalContext; ๐Ÿ”’
use super::OptValue; ๐Ÿ”’
use super::PathAndArgs; ๐Ÿ”’
use super::StringList; ๐Ÿ”’
use crate::compiler::BuildOutput; ๐Ÿ”’
use crate::compiler::LibraryPath; ๐Ÿ”’
use crate::compiler::LinkArgTarget; ๐Ÿ”’
use crate::util::CargoResult; ๐Ÿ”’
use cargo_util::collections::HashMap; ๐Ÿ”’
use cargo_util_terminal::report::Level; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::rc::Rc; ๐Ÿ”’

Structsยง

TargetCfgConfig
Config definition of a [target.'cfg(โ€ฆ)'] table.
TargetConfig
Config definition of a [target] table or [host].

Functionsยง

extra_link_args ๐Ÿ”’
get_target_applies_to_host ๐Ÿ”’
Returns true if the [target] table should be applied to host targets.
load_config_table ๐Ÿ”’
Loads a single table for the given prefix.
load_host_tuple ๐Ÿ”’
Loads a single [host] table for the given tuple.
load_target_cfgs ๐Ÿ”’
Loads all of the target.'cfg()' tables.
load_target_tuple ๐Ÿ”’
Loads a single [target] table for the given tuple.
parse_links_overrides ๐Ÿ”’