@@ -45,7 +45,7 @@ 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:: { call_host_function, call_host_function_without_returning_result } ;
4949use hyperlight_guest_bin:: memory:: malloc;
5050use hyperlight_guest_bin:: { guest_logger, MIN_STACK_ADDRESS } ;
5151use log:: { error, LevelFilter } ;
@@ -1194,9 +1194,9 @@ fn fuzz_host_function(func: FunctionCall) -> Result<Vec<u8>> {
11941194
11951195 // Because we do not know at compile time the actual return type of the host function to be called
11961196 // 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
1197+ // We need to use the `call_host_function_without_returning_result ` function that does not retrieve the return
11981198 // value
1199- call_host_function_without_returning ( & host_func_name, Some ( params) , func. expected_return_type )
1199+ call_host_function_without_returning_result ( & host_func_name, Some ( params) , func. expected_return_type )
12001200 . expect ( "failed to call host function" ) ;
12011201 Ok ( get_flatbuffer_result ( ( ) ) )
12021202}
0 commit comments