File tree Expand file tree Collapse file tree
apple/runtime/macos/rust/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ use std:: path:: PathBuf ;
2+
13fn main ( wrapp_path : String , persistent_path : String ) -> anyhow:: Result < ( ) > {
24 let builder = webrogue_wasmtime:: WrappVFSBuilder :: from_file_path ( wrapp_path) ?;
5+ let persistent_path = PathBuf :: from ( persistent_path) ;
36 #[ cfg( feature = "runtime" ) ]
47 return webrogue_wasmtime:: run_jit_builder (
5- webrogue_gfx_winit:: SimpleWinitBuilder :: default ( ) ?,
8+ webrogue_gfx_winit:: SimpleWinitBuilder :: with_default_event_loop ( ) ?,
69 builder,
7- & persistent_path. into ( ) ,
10+ & persistent_path,
811 ) ;
912 #[ cfg( feature = "runner" ) ]
1013 return webrogue_wasmtime:: run_aot_builder (
11- webrogue_gfx_winit:: SimpleWinitBuilder :: default ( ) ?,
14+ webrogue_gfx_winit:: SimpleWinitBuilder :: with_default_event_loop ( ) ?,
1215 builder,
13- & persistent_path. into ( ) ,
16+ & persistent_path,
1417 ) ;
1518 #[ cfg( not( any( feature = "runtime" , feature = "runner" ) ) ) ]
1619 {
You can’t perform that action at this time.
0 commit comments