mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
Use INTERNALS_SIZE
This commit is contained in:
parent
8e0d71b2bc
commit
6aec1c4b5f
@ -79,7 +79,7 @@ impl LocalBacking {
|
|||||||
dynamic_sigindices,
|
dynamic_sigindices,
|
||||||
local_functions,
|
local_functions,
|
||||||
|
|
||||||
internals: Internals([0; 256]),
|
internals: Internals([0; INTERNALS_SIZE]),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -700,7 +700,7 @@ mod vm_ctx_tests {
|
|||||||
dynamic_sigindices: Map::new().into_boxed_map(),
|
dynamic_sigindices: Map::new().into_boxed_map(),
|
||||||
local_functions: Map::new().into_boxed_map(),
|
local_functions: Map::new().into_boxed_map(),
|
||||||
|
|
||||||
internals: crate::backing::Internals([0; 256]),
|
internals: crate::backing::Internals([0; crate::backing::INTERNALS_SIZE]),
|
||||||
};
|
};
|
||||||
let mut import_backing = ImportBacking {
|
let mut import_backing = ImportBacking {
|
||||||
memories: Map::new().into_boxed_map(),
|
memories: Map::new().into_boxed_map(),
|
||||||
|
Loading…
Reference in New Issue
Block a user