mirror of
https://github.com/fluencelabs/interface-types
synced 2024-12-04 15:20:20 +00:00
Merge branch 'master' into record_refactoring
This commit is contained in:
commit
a0826f6693
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -186,7 +186,7 @@ checksum = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce"
|
||||
|
||||
[[package]]
|
||||
name = "wasmer-interface-types-fl"
|
||||
version = "0.17.1"
|
||||
version = "0.17.2"
|
||||
dependencies = [
|
||||
"nom",
|
||||
"safe-transmute",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "wasmer-interface-types-fl"
|
||||
version = "0.17.1"
|
||||
version = "0.17.2"
|
||||
description = "WebAssembly Interface Types library for Wasmer"
|
||||
license = "MIT"
|
||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||
|
@ -194,8 +194,6 @@ where
|
||||
// TODO: check
|
||||
let string = String::from_utf8(string_mem).unwrap();
|
||||
values.push_back(InterfaceValue::String(string));
|
||||
|
||||
utils::deallocate(instance, instruction, string_offset as _, string_size as _)?;
|
||||
} else {
|
||||
values.push_back(InterfaceValue::String(String::new()));
|
||||
}
|
||||
@ -214,8 +212,6 @@ where
|
||||
)?;
|
||||
|
||||
values.push_back(InterfaceValue::ByteArray(byte_array));
|
||||
|
||||
utils::deallocate(instance, instruction, array_offset as _, array_size as _)?;
|
||||
} else {
|
||||
values.push_back(InterfaceValue::ByteArray(vec![]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user