[−][src]Function wasmer_runtime::compiler_for_backend
pub fn compiler_for_backend(backend: Backend) -> Option<Box<dyn Compiler>>
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()
.