@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
1616
17- use hyperlight_host:: func:: HostFunction1 ;
17+ use hyperlight_host:: func:: HostFunction ;
1818use hyperlight_host:: sandbox_state:: sandbox:: EvolvableSandbox ;
1919use hyperlight_host:: sandbox_state:: transition:: Noop ;
2020use hyperlight_host:: { GuestBinary , MultiUseSandbox , Result , UninitializedSandbox } ;
@@ -46,7 +46,7 @@ pub fn new_uninit_rust() -> Result<UninitializedSandbox> {
4646}
4747
4848pub fn get_simpleguest_sandboxes (
49- writer : Option < & dyn HostFunction1 < String , i32 > > , // An optional writer to make sure correct info is passed to the host printer
49+ writer : Option < & dyn HostFunction < i32 , ( String , ) > > , // An optional writer to make sure correct info is passed to the host printer
5050) -> Vec < MultiUseSandbox > {
5151 let elf_path = get_c_or_rust_simpleguest_path ( ) ;
5252 let exe_path = format ! ( "{elf_path}.exe" ) ;
@@ -99,7 +99,7 @@ pub fn get_simpleguest_sandboxes(
9999}
100100
101101pub fn get_callbackguest_uninit_sandboxes (
102- writer : Option < & dyn HostFunction1 < String , i32 > > , // An optional writer to make sure correct info is passed to the host printer
102+ writer : Option < & dyn HostFunction < i32 , ( String , ) > > , // An optional writer to make sure correct info is passed to the host printer
103103) -> Vec < UninitializedSandbox > {
104104 let elf_path = get_c_or_rust_callbackguest_path ( ) ;
105105 let exe_path = format ! ( "{elf_path}.exe" ) ;
0 commit comments