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,
_: &Matches,
_: &Session,
_: &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)Required Methods
fn build_controller(&mut self,
_: &Session,
_: &Matches)
-> CompileController<'a>
_: &Session,
_: &Matches)
-> CompileController<'a>
🔬 This is a nightly-only experimental API. (
rustc_private)Provided Methods
fn early_callback(&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Registry,
_: ErrorOutputType)
-> Compilation
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Registry,
_: ErrorOutputType)
-> Compilation
🔬 This is a nightly-only experimental API. (
rustc_private)fn late_callback(&mut self,
_: &Matches,
_: &Session,
_: &Input,
_: &Option<PathBuf>,
_: &Option<PathBuf>)
-> Compilation
_: &Matches,
_: &Session,
_: &Input,
_: &Option<PathBuf>,
_: &Option<PathBuf>)
-> Compilation
🔬 This is a nightly-only experimental API. (
rustc_private)fn some_input(&mut self,
input: Input,
input_path: Option<PathBuf>)
-> (Input, Option<PathBuf>)
input: Input,
input_path: Option<PathBuf>)
-> (Input, Option<PathBuf>)
🔬 This is a nightly-only experimental API. (
rustc_private)fn no_input(&mut self,
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Option<PathBuf>,
_: &Option<PathBuf>,
_: &Registry)
-> Option<(Input, Option<PathBuf>)>
_: &Matches,
_: &Options,
_: &CrateConfig,
_: &Option<PathBuf>,
_: &Option<PathBuf>,
_: &Registry)
-> Option<(Input, Option<PathBuf>)>
🔬 This is a nightly-only experimental API. (
rustc_private)Implementors
impl<'a> CompilerCalls<'a> for RustcDefaultCalls