mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
doc(api) Add a Safety Section.
This commit is contained in:
@@ -145,6 +145,8 @@ impl Module {
|
||||
|
||||
/// Creates a new WebAssembly module skipping any kind of validation.
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// This can speed up compilation time a bit, but it should be only used
|
||||
/// in environments where the WebAssembly modules are trusted and validated
|
||||
/// beforehand.
|
||||
|
||||
Reference in New Issue
Block a user