[−][src]Struct rustc_codegen_ssa::back::write::OngoingCodegen
Fields
backend: Bcrate_name: Symbolmetadata: EncodedMetadatawindows_subsystem: Option<String>linker_info: LinkerInfocrate_info: CrateInfocoordinator_send: Sender<Box<dyn Any + Send>>codegen_worker_receive: Receiver<Message<B>>future: JoinHandle<Result<CompiledModules, ()>>output_filenames: Arc<OutputFilenames>Implementations
impl<B: ExtraBackendMethods> OngoingCodegen<B>[src]
pub fn join(
self,
sess: &Session
) -> (CodegenResults, FxHashMap<WorkProductId, WorkProduct>)[src]
self,
sess: &Session
) -> (CodegenResults, FxHashMap<WorkProductId, WorkProduct>)
pub fn submit_pre_codegened_module_to_llvm(
&self,
tcx: TyCtxt<'_>,
module: ModuleCodegen<B::Module>
)[src]
&self,
tcx: TyCtxt<'_>,
module: ModuleCodegen<B::Module>
)
pub fn codegen_finished(&self, tcx: TyCtxt<'_>)[src]
pub fn codegen_aborted(self)[src]
Consumes this context indicating that codegen was entirely aborted, and we need to exit as quickly as possible.
This method blocks the current thread until all worker threads have finished, and all worker threads should have exited or be real close to exiting at this point.
pub fn check_for_errors(&self, sess: &Session)[src]
pub fn wait_for_signal_to_codegen_item(&self)[src]
Auto Trait Implementations
impl<B> !RefUnwindSafe for OngoingCodegen<B>
impl<B> !Send for OngoingCodegen<B>
impl<B> !Sync for OngoingCodegen<B>
impl<B> Unpin for OngoingCodegen<B> where
B: Unpin,
B: Unpin,
impl<B> !UnwindSafe for OngoingCodegen<B>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,