Trait rustc_driver::CompilerCalls [−][src]
pub trait CompilerCalls<'a> { fn build_controller(
&mut self,
_: &Session,
_: &Matches
) -> CompileController<'a>; fn early_callback(
&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Registry,
_: ErrorOutputType
) -> Compilation { ... } fn late_callback(
&mut self,
_: &TransCrate,
_: &Matches,
_: &Session,
_: &CrateStore,
_: &Input,
_: &Option<PathBuf>,
_: &Option<PathBuf>
) -> Compilation { ... } fn some_input(
&mut self,
input: Input,
input_path: Option<PathBuf>
) -> (Input, Option<PathBuf>) { ... } fn no_input(
&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Option<PathBuf>,
_: &Option<PathBuf>,
_: &Registry
) -> Option<(Input, Option<PathBuf>)> { ... } }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Required Methods
fn build_controller(
&mut self,
_: &Session,
_: &Matches
) -> CompileController<'a>
&mut self,
_: &Session,
_: &Matches
) -> CompileController<'a>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Provided Methods
fn early_callback(
&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Registry,
_: ErrorOutputType
) -> Compilation
&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Registry,
_: ErrorOutputType
) -> Compilation
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn late_callback(
&mut self,
_: &TransCrate,
_: &Matches,
_: &Session,
_: &CrateStore,
_: &Input,
_: &Option<PathBuf>,
_: &Option<PathBuf>
) -> Compilation
&mut self,
_: &TransCrate,
_: &Matches,
_: &Session,
_: &CrateStore,
_: &Input,
_: &Option<PathBuf>,
_: &Option<PathBuf>
) -> Compilation
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn some_input(
&mut self,
input: Input,
input_path: Option<PathBuf>
) -> (Input, Option<PathBuf>)
&mut self,
input: Input,
input_path: Option<PathBuf>
) -> (Input, Option<PathBuf>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn no_input(
&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Option<PathBuf>,
_: &Option<PathBuf>,
_: &Registry
) -> Option<(Input, Option<PathBuf>)>
&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Option<PathBuf>,
_: &Option<PathBuf>,
_: &Registry
) -> Option<(Input, Option<PathBuf>)>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Implementors
impl<'a> CompilerCalls<'a> for RustcDefaultCalls