[−][src]Trait rustc_codegen_utils::codegen_backend::CodegenBackend
🔬 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 metadata_loader(&self) -> Box<MetadataLoader + Sync>
🔬 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 provide(&self, _providers: &mut Providers)
🔬 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 provide_extern(&self, _providers: &mut Providers)
🔬 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 codegen_crate<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
rx: Receiver<Box<Any + Send>>
) -> Box<Any>
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
rx: Receiver<Box<Any + Send>>
) -> Box<Any>
🔬 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 join_codegen_and_link(
&self,
ongoing_codegen: Box<Any>,
sess: &Session,
dep_graph: &DepGraph,
outputs: &OutputFilenames
) -> Result<(), CompileIncomplete>
&self,
ongoing_codegen: Box<Any>,
sess: &Session,
dep_graph: &DepGraph,
outputs: &OutputFilenames
) -> Result<(), CompileIncomplete>
🔬 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?
This is called on the returned Box<dyn Any>
from codegen_backend
Panics
Panics when the passed Box<dyn Any>
was not returned by codegen_backend
.
Provided Methods
fn init(&self, _sess: &Session)
🔬 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 print(&self, _req: PrintRequest, _sess: &Session)
🔬 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 target_features(&self, _sess: &Session) -> Vec<Symbol>
🔬 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 print_passes(&self)
🔬 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 print_version(&self)
🔬 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 diagnostics(&self) -> &[(&'static str, &'static str)]
🔬 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 CodegenBackend for MetadataOnlyCodegenBackend
[src]
impl CodegenBackend for MetadataOnlyCodegenBackend
fn init(&self, sess: &Session)
[src]
fn init(&self, sess: &Session)
🔬 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?
ⓘImportant traits for Box<R>fn metadata_loader(&self) -> Box<MetadataLoader + Sync>
[src]
fn metadata_loader(&self) -> Box<MetadataLoader + Sync>
🔬 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 provide(&self, providers: &mut Providers)
[src]
fn provide(&self, providers: &mut Providers)
🔬 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 provide_extern(&self, providers: &mut Providers)
[src]
fn provide_extern(&self, providers: &mut Providers)
🔬 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?
ⓘImportant traits for Box<R>fn codegen_crate<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
_rx: Receiver<Box<Any + Send>>
) -> Box<Any>
[src]
fn codegen_crate<'a, 'tcx>(
&self,
tcx: TyCtxt<'a, 'tcx, 'tcx>,
_rx: Receiver<Box<Any + Send>>
) -> Box<Any>
🔬 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 join_codegen_and_link(
&self,
ongoing_codegen: Box<Any>,
sess: &Session,
_dep_graph: &DepGraph,
outputs: &OutputFilenames
) -> Result<(), CompileIncomplete>
[src]
fn join_codegen_and_link(
&self,
ongoing_codegen: Box<Any>,
sess: &Session,
_dep_graph: &DepGraph,
outputs: &OutputFilenames
) -> Result<(), CompileIncomplete>
🔬 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 print(&self, _req: PrintRequest, _sess: &Session)
[src]
fn print(&self, _req: PrintRequest, _sess: &Session)
🔬 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 target_features(&self, _sess: &Session) -> Vec<Symbol>
[src]
fn target_features(&self, _sess: &Session) -> Vec<Symbol>
🔬 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 print_passes(&self)
[src]
fn print_passes(&self)
🔬 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 print_version(&self)
[src]
fn print_version(&self)
🔬 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 diagnostics(&self) -> &[(&'static str, &'static str)]
[src]
fn diagnostics(&self) -> &[(&'static str, &'static str)]
🔬 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?