mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 13:48:26 +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.
|
/// 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
|
/// This can speed up compilation time a bit, but it should be only used
|
||||||
/// in environments where the WebAssembly modules are trusted and validated
|
/// in environments where the WebAssembly modules are trusted and validated
|
||||||
/// beforehand.
|
/// beforehand.
|
||||||
|
|||||||
Reference in New Issue
Block a user