[][src]Function holochain_wasmer_host::prelude::compiler_for_backend

pub fn compiler_for_backend(
    backend: Backend
) -> Option<Box<dyn Compiler + 'static, Global>>

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().