You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only clear io buffer after unsuccesfull guest call (#811)
* Only clear io buffer after unsuccesfull guest call.
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Undo stuff that breaks unwinding
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
* Add error path to test
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
---------
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
// In the happy path we do not need to clear io-buffers from the host because:
429
+
// - the serialized guest function call is zeroed out by the guest during deserialization, see call to `try_pop_shared_input_data_into::<FunctionCall>()`
430
+
// - the serialized guest function result is zeroed out by us (the host) during deserialization, see `get_guest_function_call_result`
431
+
// - any serialized host function call are zeroed out by us (the host) during deserialization, see `get_host_function_call`
432
+
// - any serialized host function result is zeroed out by the guest during deserialization, see `get_host_return_value`
0 commit comments