mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-05-24 05:01:34 +00:00
Fix
This commit is contained in:
parent
05a9f4067e
commit
ae67df2d07
@ -326,7 +326,7 @@ fn native_env_function_own_memory() {
|
|||||||
fn native_env_global() {
|
fn native_env_global() {
|
||||||
struct DummyExecutor;
|
struct DummyExecutor;
|
||||||
impl UserFunctionExecutor for DummyExecutor {
|
impl UserFunctionExecutor for DummyExecutor {
|
||||||
fn execute(&mut self, name: &str, context: CallerContext) -> Result<Option<RuntimeValue>, Error> {
|
fn execute(&mut self, _name: &str, _context: CallerContext) -> Result<Option<RuntimeValue>, Error> {
|
||||||
// this code should be unreachable, because we actually doesn't call any
|
// this code should be unreachable, because we actually doesn't call any
|
||||||
// native functions in this test.
|
// native functions in this test.
|
||||||
unreachable!();
|
unreachable!();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user