Function wasmer_runtime_fl::compiler_for_backend [−][src]
pub fn compiler_for_backend(backend: Backend) -> Option<Box<dyn Compiler>>
Expand description
Get the Compiler
as a trait object for the given Backend
.
Returns Option
because support for the requested Compiler
may
not be enabled by feature flags.
To get a list of the enabled backends as strings, call Backend::variants()
.