Squash improper_ctypes warnings on nightly
Lots more warnings are showing up on nightly compilers due to a recent change. I've opened rust-lang/rust#66373 on the compiler side for this as well.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
//! Wasmtime embed API. Based on wasm-c-api.
|
//! Wasmtime embed API. Based on wasm-c-api.
|
||||||
|
|
||||||
|
#![allow(improper_ctypes)]
|
||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|
||||||
mod callable;
|
mod callable;
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#![allow(improper_ctypes)]
|
||||||
|
|
||||||
use crate::import::into_instance_from_obj;
|
use crate::import::into_instance_from_obj;
|
||||||
use crate::instance::Instance;
|
use crate::instance::Instance;
|
||||||
use crate::memory::Memory;
|
use crate::memory::Memory;
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
//! Runtime library support for Wasmtime.
|
//! Runtime library support for Wasmtime.
|
||||||
|
|
||||||
|
#![allow(improper_ctypes)]
|
||||||
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
|
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
|
||||||
#![warn(unused_import_braces)]
|
#![warn(unused_import_braces)]
|
||||||
#![cfg_attr(feature = "std", deny(unstable_features))]
|
#![cfg_attr(feature = "std", deny(unstable_features))]
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#![allow(improper_ctypes)]
|
||||||
|
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
|
|
||||||
mod instantiate;
|
mod instantiate;
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#![allow(improper_ctypes)]
|
||||||
|
|
||||||
use alloc::rc::Rc;
|
use alloc::rc::Rc;
|
||||||
use core::cell::RefCell;
|
use core::cell::RefCell;
|
||||||
use cranelift_codegen::ir::types;
|
use cranelift_codegen::ir::types;
|
||||||
|
|||||||
Reference in New Issue
Block a user