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

@@ -2,10 +2,10 @@
#![allow(clippy::not_unsafe_ptr_arg_deref)]
#![allow(clippy::borrowed_box)]
#![allow(incomplete_features)]
#![allow(ambiguous_glob_reexports)]
#![deny(missing_docs)]
#![deny(clippy::missing_docs_in_private_items)]
#![feature(test)]
#![feature(once_cell)]
#![feature(const_option)]
#![feature(is_some_and)]
#![feature(new_uninit)]
@@ -14,6 +14,7 @@
#![feature(fn_traits)]
#![feature(unboxed_closures)]
#![feature(trait_upcasting)]
#![feature(lazy_cell)]
//! PkmnLib
//! PkmnLib is a full featured implementation of Pokemon. while currently focused on implementing

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;