Skip to content

Commit 2de545e

Browse files
committed
fixup! [guest] improve WASM runtime memory management
1 parent 816b0dc commit 2de545e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wasm_runtime/src/marshal.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ use hyperlight_common::flatbuffer_wrappers::function_types::{
5555
use hyperlight_common::flatbuffer_wrappers::guest_error::ErrorCode;
5656
use hyperlight_common::flatbuffer_wrappers::util::get_flatbuffer_result;
5757
use hyperlight_guest::error::{HyperlightGuestError, Result};
58-
use wasmtime::{AsContextMut, Extern, Val};
59-
6058
use spin::Mutex;
59+
use wasmtime::{AsContextMut, Extern, Val};
6160

6261
// Global tracking for return value allocations that need to be freed on next VM entry
6362
static RETURN_VALUE_ALLOCATIONS: Mutex<Vec<i32>> = Mutex::new(Vec::new());

0 commit comments

Comments
 (0)