File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ pub async fn componentize(
410410 // application's first and only chance to load any standard or third-party modules since we do not yet include
411411 // a virtual filesystem in the component to make those modules available at runtime.
412412
413- let stdout: MemoryOutputPipe = MemoryOutputPipe :: new ( 10000 ) ;
413+ let stdout = MemoryOutputPipe :: new ( 10000 ) ;
414414 let stderr = MemoryOutputPipe :: new ( 10000 ) ;
415415
416416 let mut wasi = WasiCtxBuilder :: new ( ) ;
@@ -550,9 +550,6 @@ pub async fn componentize(
550550
551551 let mut linker = Linker :: new ( & engine) ;
552552
553- //whenever the guest adds to fulfil x or y,
554- //add to linker is giving access to wasi so it can access the host file system
555-
556553 let added_to_linker = if let Some ( add_to_linker) = add_to_linker {
557554 add_to_linker ( & mut linker) ?;
558555 true
@@ -562,9 +559,6 @@ pub async fn componentize(
562559
563560 let mut store = Store :: new ( & engine, Ctx { wasi, table } ) ;
564561
565- //can stub out wasi, if does try to access file system then trap it
566- //there are no env variables etc
567-
568562 let app_name = app_name. to_owned ( ) ;
569563 let component = component_init:: initialize_staged (
570564 & component,
You can’t perform that action at this time.
0 commit comments