Merge branch 'master' into add-versioning-to-cache

This commit is contained in:
Lachlan Sneff
2019-03-19 16:22:55 -07:00
committed by GitHub
9 changed files with 407 additions and 55 deletions

View File

@ -152,7 +152,8 @@ pub fn instantiate(wasm: &[u8], import_object: &ImportObject) -> error::Result<I
module.instantiate(import_object)
}
fn default_compiler() -> &'static dyn Compiler {
/// Get a single instance of the default compiler to use.
pub fn default_compiler() -> &'static dyn Compiler {
use lazy_static::lazy_static;
#[cfg(feature = "llvm")]