Skip to content

Commit a6deedf

Browse files
authored
Use compile command
Signed-off-by: Michael Yuan <[email protected]>
1 parent ed67c42 commit a6deedf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/develop/rust/socket_networking/client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd wasmedge_wasi_socket/http_client/
2727
# Build the Rust Code
2828
cargo build --target wasm32-wasi --release
2929
# Use the AoT compiler to get better performance
30-
wasmedgec target/wasm32-wasi/release/http_client.wasm http_client.wasm
30+
wasmedge compile target/wasm32-wasi/release/http_client.wasm http_client.wasm
3131

3232
# Run the example
3333
wasmedge http_client.wasm
@@ -71,7 +71,7 @@ cd wasmedge_wasi_socket/nonblock_http_client/
7171
# Build the Rust Code
7272
cargo build --target wasm32-wasi --release
7373
# Use the AoT compiler for better performance
74-
wasmedgec target/wasm32-wasi/release/nonblock_http_client.wasm nonblock_http_client.wasm
74+
wasmedge compile target/wasm32-wasi/release/nonblock_http_client.wasm nonblock_http_client.wasm
7575

7676
# Run the example
7777
wasmedge nonblock_http_client.wasm

0 commit comments

Comments
 (0)