Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 454747a

Browse files
committed
fix: feature-gate CLI HTTP support
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
1 parent 9b2b834 commit 454747a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/commands/run.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@ struct Host {
10091009
p3_filesystem: Option<wasmtime_wasi::p3::filesystem::WasiFilesystemCtx>,
10101010
p3_random: Option<Arc<Mutex<wasmtime_wasi::p3::random::WasiRandomCtx>>>,
10111011
p3_sockets: Option<wasmtime_wasi::p3::sockets::WasiSocketsCtx>,
1012+
#[cfg(feature = "wasi-http")]
10121013
p3_http: Option<wasmtime_wasi_http::p3::WasiHttpCtx>,
10131014

10141015
#[cfg(feature = "wasi-nn")]

0 commit comments

Comments
 (0)