Update Cranelift to 0.52.0 (#710)

* Add unimplemented stubs for Cranelift interfaces

Cranelift changes to FuncEnvironment, TargetEnvironment, and GlobalInit (see https://github.com/bytecodealliance/cranelift/pull/1073) require these changes to compile wasmtime.

* Upgrade Cranelift to 0.52.0
This commit is contained in:
Andrew Brown
2019-12-31 10:24:56 -08:00
committed by Yury Delendik
parent 681445b18b
commit 69683e8b67
9 changed files with 125 additions and 39 deletions

View File

@@ -1253,6 +1253,7 @@ fn initialize_globals(instance: &mut Instance) {
unsafe { *to = *from };
}
GlobalInit::Import => panic!("locally-defined global initialized as import"),
GlobalInit::RefNullConst => unimplemented!(),
}
}
}