From a7289c7583654c31116ee6629d6b7bb5679a2d43 Mon Sep 17 00:00:00 2001 From: Tricster Date: Thu, 9 Jun 2022 09:37:45 +0800 Subject: [PATCH] Fix typo in example. Signed-off-by: Tricster --- examples/tcp_listenfd_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tcp_listenfd_server.rs b/examples/tcp_listenfd_server.rs index 413e35751..7a789051c 100644 --- a/examples/tcp_listenfd_server.rs +++ b/examples/tcp_listenfd_server.rs @@ -2,7 +2,7 @@ // cargo run --example tcp_listenfd_server --features="os-poll net" // or with wasi: // cargo +nightly build --target wasm32-wasi --example tcp_listenfd_server --features="os-poll net" -// wasmtime run --tcplisten 127.0.0.1:9000 --env 'LISTEN_FDS=1' target/wasm32-wasi/debug/examples/tcp_server.wasm +// wasmtime run --tcplisten 127.0.0.1:9000 --env 'LISTEN_FDS=1' target/wasm32-wasi/debug/examples/tcp_listenfd_server.wasm use mio::event::Event; use mio::net::{TcpListener, TcpStream};