From 38fc390e10197d06943375230b6810a668635a42 Mon Sep 17 00:00:00 2001 From: Iris Pupo Date: Fri, 24 Mar 2023 17:12:41 -0400 Subject: [PATCH] Fix names and paths in usage docs --- book/src/impl-rs/usage.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/book/src/impl-rs/usage.md b/book/src/impl-rs/usage.md index 464b545..5a6a358 100644 --- a/book/src/impl-rs/usage.md +++ b/book/src/impl-rs/usage.md @@ -38,12 +38,12 @@ $ cd canary-rs Then, run `cargo` to build the sandbox package: ```sh -$ cargo build --release -p canary_sandbox +$ cargo build --release -p canary-sandbox ``` Now, the sandbox can be ran with a script: ```sh -$ cargo run --release -p canary_sandbox -- +$ cargo run --release -p canary-sandbox -- ``` ## (Optional) Building the Sword Art Online demonstration UI script @@ -62,13 +62,13 @@ $ rustup target add wasm32-unknown-unknown Next, compile the example script: ```sh -$ cargo build --release -p sao-ui-rs --target wasm32-unknown-unknown +$ cargo build --release -p canary-sao-ui --target wasm32-unknown-unknown ``` -The path to the built example script is `target/wasm32-unknown-unknown/release/sao_ui_rs.wasm`. +The path to the built example script is `target/wasm32-unknown-unknown/release/canary_sao_ui.wasm`. Now it can be run using the sandbox: ```sh -$ cargo run --release -p canary_sandbox -- target/wasm32-unknown-unknown/release/sao_ui_rs.wasm +$ cargo run --release -p canary-sandbox -- target/wasm32-unknown-unknown/release/canary_sao_ui.wasm ``` # Using `canary-rs` as a Rust library