Skip to content

Commit 8b0cfd9

Browse files
committed
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.
1 parent 9826649 commit 8b0cfd9

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

crates/api/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! Wasmtime embed API. Based on wasm-c-api.
22
3+
#![allow(improper_ctypes)]
34
#![cfg_attr(not(feature = "std"), no_std)]
45

56
mod callable;

crates/misc/py/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(improper_ctypes)]
2+
13
use crate::import::into_instance_from_obj;
24
use crate::instance::Instance;
35
use crate::memory::Memory;

crates/runtime/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! Runtime library support for Wasmtime.
22
3+
#![allow(improper_ctypes)]
34
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
45
#![warn(unused_import_braces)]
56
#![cfg_attr(feature = "std", deny(unstable_features))]

crates/wasi/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(improper_ctypes)]
2+
13
extern crate alloc;
24

35
mod instantiate;

crates/wast/src/spectest.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(improper_ctypes)]
2+
13
use alloc::rc::Rc;
24
use core::cell::RefCell;
35
use cranelift_codegen::ir::types;

0 commit comments

Comments
 (0)