INNER CODE UNIT · Rust
version
willcrichton/flowistry · crates/flowistry_ifc/src/lib.rs:37
fn version(&self) -> Cow<'static, str> {
env!("CARGO_PKG_VERSION").into()
}
fn args(&self, _target_dir: &rustc_plugin::Utf8Path) -> RustcPluginArgs<Self::Args> {
RustcPluginArgs {
args: (),
filter: CrateFilter::OnlyWorkspace,
}
}
fn run(
self,
compiler_args: Vec<String>,
_plugin_args: Self::Args,
) -> rustc_interface::interface::Result<()> {
rustc_driver::run_compiler(&compiler_args, &mut Callbacks);
Ok(())