Fix datatests to be properly working in newer nightly rust
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-04-02 12:07:08 +02:00
parent ca54820483
commit af29abdb1e
6 changed files with 81 additions and 23 deletions

View File

@@ -52,7 +52,7 @@ struct ScriptCapabilitiesKey {
impl WebAssemblyScriptResolver {
/// Instantiates a new WebAssemblyScriptResolver.
pub fn new() -> Box<WebAssemblyScriptResolver> {
let compiler = wasmer::LLVM::default();
let compiler = wasmer::Cranelift::default();
let mut features = Features::new();
features.multi_value = true;
features.reference_types = true;