pub struct FaerieBackend { /* private fields */ }
Expand description

A FaerieBackend implements Backend and emits “.o” files using the faerie library.

See the FaerieBuilder for a convenient way to construct FaerieBackend instances.

Trait Implementations§

The returned value here provides functions for emitting object files to memory and files.

Create a new FaerieBackend using the given Cranelift target.

A builder for constructing Backend instances.
The results of compiling a function.
The results of “compiling” a data object.
The completed output artifact for a function, if this is meaningful for the Backend. Read more
The completed output artifact for a data object, if this is meaningful for the Backend. Read more
Return the TargetIsa to compile for.
Declare a function.
Declare a data object.
Define a function, producing the function body from the given Context. Read more
Define a zero-initialized data object of the given size. Read more
Write the address of what into the data for data at offset. data must refer to a defined data object. Read more
Write the address of what plus addend into the data for data at offset. data must refer to a defined data object. Read more
Perform all outstanding relocations on the given function. This requires all Local and Export entities referenced to be defined. Read more
Return the finalized artifact from the backend, if relevant.
Perform all outstanding relocations on the given data object. This requires all Local and Export entities referenced to be defined. Read more
Return the finalized artifact from the backend, if relevant.
“Publish” all finalized functions and data objects to their ultimate destinations.
Consume this Backend and return a result. Some implementations may provide additional functionality through this result. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.