@@ -5,7 +5,7 @@ use wasmtime::{
5
5
Config , Engine , Store ,
6
6
} ;
7
7
use wasmtime_wasi:: preview2:: {
8
- self , pipe:: MemoryOutputPipe , IsATTY , Table , WasiCtx , WasiCtxBuilder , WasiView ,
8
+ self , pipe:: MemoryOutputPipe , Table , WasiCtx , WasiCtxBuilder , WasiView ,
9
9
} ;
10
10
use wasmtime_wasi_http:: { proxy:: Proxy , WasiHttpCtx , WasiHttpView } ;
11
11
@@ -70,17 +70,17 @@ async fn wasi_http_proxy_tests() -> anyhow::Result<()> {
70
70
let stdout = MemoryOutputPipe :: new ( 4096 ) ;
71
71
let stderr = MemoryOutputPipe :: new ( 4096 ) ;
72
72
73
- let mut table = Table :: new ( ) ;
73
+ let table = Table :: new ( ) ;
74
74
let component = get_component ( "wasi_http_proxy_tests" ) ;
75
75
76
76
// Create our wasi context.
77
77
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 ( ) ) ;
80
80
for ( var, val) in test_programs:: wasi_tests_environment ( ) {
81
81
builder. env ( var, val) ;
82
82
}
83
- let wasi = builder. build ( & mut table ) ? ;
83
+ let wasi = builder. build ( ) ;
84
84
let http = WasiHttpCtx ;
85
85
86
86
let ctx = Ctx { table, wasi, http } ;
0 commit comments