Skip to content

Commit

Permalink
Squash improper_ctypes warnings on nightly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton committed Nov 13, 2019
1 parent 9826649 commit 0145533
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Wasmtime embed API. Based on wasm-c-api.
#![allow(improper_ctypes)]
#![cfg_attr(not(feature = "std"), no_std)]

mod callable;
Expand Down
1 change: 1 addition & 0 deletions crates/runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Runtime library support for Wasmtime.
#![allow(improper_ctypes)]
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
#![warn(unused_import_braces)]
#![cfg_attr(feature = "std", deny(unstable_features))]
Expand Down
2 changes: 2 additions & 0 deletions crates/wasi/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(improper_ctypes)]

extern crate alloc;

mod instantiate;
Expand Down
2 changes: 2 additions & 0 deletions crates/wast/src/spectest.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(improper_ctypes)]

use alloc::rc::Rc;
use core::cell::RefCell;
use cranelift_codegen::ir::types;
Expand Down

0 comments on commit 0145533

Please sign in to comment.