mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-29 16:41:33 +00:00
Add deny missing docs to runtime lib
This commit is contained in:
@ -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 crate::Module;
|
||||||
use memmap::Mmap;
|
use memmap::Mmap;
|
||||||
use std::{
|
use std::{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#![deny(
|
#![deny(
|
||||||
dead_code,
|
dead_code,
|
||||||
|
missing_docs,
|
||||||
nonstandard_style,
|
nonstandard_style,
|
||||||
unused_imports,
|
unused_imports,
|
||||||
unused_mut,
|
unused_mut,
|
||||||
@ -104,6 +105,8 @@ pub use wasmer_runtime_core::{compile_with, validate};
|
|||||||
pub use wasmer_runtime_core::{func, imports};
|
pub use wasmer_runtime_core::{func, imports};
|
||||||
|
|
||||||
pub mod memory {
|
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};
|
pub use wasmer_runtime_core::memory::{Atomically, Memory, MemoryView};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,6 +120,8 @@ pub mod wasm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub mod error {
|
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::cache::Error as CacheError;
|
||||||
pub use wasmer_runtime_core::error::*;
|
pub use wasmer_runtime_core::error::*;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user