@@ -45,7 +45,9 @@ use hyperlight_guest::error::{HyperlightGuestError, Result};
4545use hyperlight_guest:: exit:: { abort_with_code, abort_with_code_and_message} ;
4646use hyperlight_guest_bin:: guest_function:: definition:: GuestFunctionDefinition ;
4747use hyperlight_guest_bin:: guest_function:: register:: register_function;
48- use hyperlight_guest_bin:: host_comm:: { call_host_function, call_host_function_without_returning} ;
48+ use hyperlight_guest_bin:: host_comm:: {
49+ call_host_function, call_host_function_without_returning_result,
50+ } ;
4951use hyperlight_guest_bin:: memory:: malloc;
5052use hyperlight_guest_bin:: { guest_logger, MIN_STACK_ADDRESS } ;
5153use log:: { error, LevelFilter } ;
@@ -1194,9 +1196,13 @@ fn fuzz_host_function(func: FunctionCall) -> Result<Vec<u8>> {
11941196
11951197 // Because we do not know at compile time the actual return type of the host function to be called
11961198 // we cannot use the `call_host_function<T>` generic function.
1197- // We need to use the `call_host_function_without_returning ` function that does not retrieve the return
1199+ // We need to use the `call_host_function_without_returning_result ` function that does not retrieve the return
11981200 // value
1199- call_host_function_without_returning ( & host_func_name, Some ( params) , func. expected_return_type )
1200- . expect ( "failed to call host function" ) ;
1201+ call_host_function_without_returning_result (
1202+ & host_func_name,
1203+ Some ( params) ,
1204+ func. expected_return_type ,
1205+ )
1206+ . expect ( "failed to call host function" ) ;
12011207 Ok ( get_flatbuffer_result ( ( ) ) )
12021208}
0 commit comments