mirror of
https://github.com/fluencelabs/marine-rs-sdk
synced 2025-03-15 22:30:50 +00:00
Delete strings and arrays by refcount instead of from a interface-type side
This commit is contained in:
parent
8418111074
commit
89da1d5285
@ -41,7 +41,6 @@ impl RecordSerializerGlueCodeGenerator for fce_ast_types::AstRecordItem {
|
|||||||
quote! {
|
quote! {
|
||||||
raw_record.push(#field_ident.as_ptr() as _);
|
raw_record.push(#field_ident.as_ptr() as _);
|
||||||
raw_record.push(#field_ident.len() as _);
|
raw_record.push(#field_ident.len() as _);
|
||||||
std::mem::forget(#field_ident);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ParsedType::Record(_) => {
|
ParsedType::Record(_) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user