Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squash improper_ctypes warnings on nightly #561

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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