Struct rustc_trans::metadata::loader::Context [−] [src]

pub struct Context<'a> {
    pub sess: &'a Session,
    pub span: Span,
    pub ident: &'a str,
    pub crate_name: &'a str,
    pub hash: Option<&'a Svh>,
    pub target: &'a Target,
    pub triple: &'a str,
    pub filesearch: FileSearch<'a>,
    pub root: &'a Option<CratePaths>,
    pub rejected_via_hash: Vec<CrateMismatch>,
    pub rejected_via_triple: Vec<CrateMismatch>,
    pub rejected_via_kind: Vec<CrateMismatch>,
    pub should_match_name: bool,
}
Unstable

Fields

sess
Unstable
span
Unstable
ident
Unstable
crate_name
Unstable
hash
Unstable
target
Unstable
triple
Unstable
filesearch
Unstable
root
Unstable
rejected_via_hash
Unstable
rejected_via_triple
Unstable
rejected_via_kind
Unstable
should_match_name
Unstable

Methods

impl<'a> Context<'a>

fn maybe_load_library_crate(&mut self) -> Option<Library>

Unstable

fn load_library_crate(&mut self) -> Library

Unstable

fn report_load_errs(&mut self)

Unstable