Skip to content

Commit

Permalink
Merge pull request #561 from alexcrichton/improper-ctypes-nightly-war…
Browse files Browse the repository at this point in the history
…nings

Squash improper_ctypes warnings on nightly
  • Loading branch information
fitzgen authored Nov 13, 2019
2 parents 9826649 + 8b0cfd9 commit f234f11
Show file tree
Hide file tree
Showing 5 changed files with 8 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
2 changes: 2 additions & 0 deletions crates/misc/py/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(improper_ctypes)]

use crate::import::into_instance_from_obj;
use crate::instance::Instance;
use crate::memory::Memory;
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 f234f11

Please sign in to comment.