@@ -5,7 +5,7 @@ use wasmtime::{
55 Config , Engine , Store ,
66} ;
77use wasmtime_wasi:: preview2:: {
8- self , pipe:: MemoryOutputPipe , IsATTY , Table , WasiCtx , WasiCtxBuilder , WasiView ,
8+ self , pipe:: MemoryOutputPipe , Table , WasiCtx , WasiCtxBuilder , WasiView ,
99} ;
1010use wasmtime_wasi_http:: { proxy:: Proxy , WasiHttpCtx , WasiHttpView } ;
1111
@@ -70,17 +70,17 @@ async fn wasi_http_proxy_tests() -> anyhow::Result<()> {
7070 let stdout = MemoryOutputPipe :: new ( 4096 ) ;
7171 let stderr = MemoryOutputPipe :: new ( 4096 ) ;
7272
73- let mut table = Table :: new ( ) ;
73+ let table = Table :: new ( ) ;
7474 let component = get_component ( "wasi_http_proxy_tests" ) ;
7575
7676 // Create our wasi context.
7777 let mut builder = WasiCtxBuilder :: new ( ) ;
78- builder. stdout ( stdout. clone ( ) , IsATTY :: No ) ;
79- builder. stderr ( stderr. clone ( ) , IsATTY :: No ) ;
78+ builder. stdout ( stdout. clone ( ) ) ;
79+ builder. stderr ( stderr. clone ( ) ) ;
8080 for ( var, val) in test_programs:: wasi_tests_environment ( ) {
8181 builder. env ( var, val) ;
8282 }
83- let wasi = builder. build ( & mut table ) ? ;
83+ let wasi = builder. build ( ) ;
8484 let http = WasiHttpCtx ;
8585
8686 let ctx = Ctx { table, wasi, http } ;
0 commit comments