Skip to content

Commit

Permalink
Merge wasmerio#966
Browse files Browse the repository at this point in the history
966: Add deny missing docs to runtime lib r=bjfish a=bjfish

<!-- 
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests

-->

# Description
<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->


Co-authored-by: Brandon Fish <[email protected]>
  • Loading branch information
bors[bot] and bjfish authored Nov 14, 2019
2 parents 69f8bad + 929bff9 commit 4a2eaa4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/runtime/src/cache.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//! The cache module provides the common data structures used by compiler backends to allow
//! serializing compiled wasm code to a binary format. The binary format can be persisted,
//! and loaded to allow skipping compilation and fast startup.
use crate::Module;
use memmap::Mmap;
use std::{
Expand Down
5 changes: 5 additions & 0 deletions lib/runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![deny(
dead_code,
missing_docs,
nonstandard_style,
unused_imports,
unused_mut,
Expand Down Expand Up @@ -104,6 +105,8 @@ pub use wasmer_runtime_core::{compile_with, validate};
pub use wasmer_runtime_core::{func, imports};

pub mod memory {
//! The memory module contains the implementation data structures and helper functions used to
//! manipulate and access wasm memory.
pub use wasmer_runtime_core::memory::{Atomically, Memory, MemoryView};
}

Expand All @@ -117,6 +120,8 @@ pub mod wasm {
}

pub mod error {
//! The error module contains the data structures and helper functions used to implement errors that
//! are produced and returned from the wasmer runtime.
pub use wasmer_runtime_core::cache::Error as CacheError;
pub use wasmer_runtime_core::error::*;
}
Expand Down

0 comments on commit 4a2eaa4

Please sign in to comment.