@@ -19,8 +19,7 @@ extern crate hyperlight_host;
1919use std:: sync:: { Arc , Barrier } ;
2020
2121use hyperlight_host:: sandbox:: uninitialized:: UninitializedSandbox ;
22- use hyperlight_host:: sandbox_state:: transition:: Noop ;
23- use hyperlight_host:: { GuestBinary , MultiUseSandbox , Result } ;
22+ use hyperlight_host:: { GuestBinary , Result } ;
2423use hyperlight_testing:: simple_guest_as_string;
2524
2625fn fn_writer ( _msg : String ) -> Result < i32 > {
@@ -46,10 +45,7 @@ fn main() -> Result<()> {
4645 usandbox. register_print ( fn_writer) ?;
4746
4847 // Initialize the sandbox.
49-
50- let no_op = Noop :: < UninitializedSandbox , MultiUseSandbox > :: default ( ) ;
51-
52- let mut multiuse_sandbox = usandbox. evolve ( no_op) ?;
48+ let mut multiuse_sandbox = usandbox. evolve ( ) ?;
5349
5450 // Call a guest function 5 times to generate some log entries.
5551 for _ in 0 ..5 {
@@ -79,10 +75,7 @@ fn main() -> Result<()> {
7975 UninitializedSandbox :: new ( GuestBinary :: FilePath ( hyperlight_guest_path. clone ( ) ) , None ) ?;
8076
8177 // Initialize the sandbox.
82-
83- let no_op = Noop :: < UninitializedSandbox , MultiUseSandbox > :: default ( ) ;
84-
85- let mut multiuse_sandbox = usandbox. evolve ( no_op) ?;
78+ let mut multiuse_sandbox = usandbox. evolve ( ) ?;
8679 let interrupt_handle = multiuse_sandbox. interrupt_handle ( ) ;
8780 let barrier = Arc :: new ( Barrier :: new ( 2 ) ) ;
8881 let barrier2 = barrier. clone ( ) ;
0 commit comments