mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-18 17:10:52 +00:00
test(runtime-core) Write more documentation.
This commit is contained in:
parent
293b71ac54
commit
a9e0e9baeb
@ -55,7 +55,14 @@ macro_rules! call_and_assert {
|
||||
};
|
||||
}
|
||||
|
||||
/// The shift that is set in the instance memory. The value is part of
|
||||
/// the result returned by the imported functions if the memory is
|
||||
/// read properly.
|
||||
const SHIFT: i32 = 10;
|
||||
|
||||
/// The shift that is captured in the environment of a closure. The
|
||||
/// value is part of the result returned by the imported function if
|
||||
/// the closure captures its environment properly.
|
||||
const shift: i32 = 100;
|
||||
|
||||
fn imported_functions_forms(test: &dyn Fn(&Instance)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user