Skip to content

Commit

Permalink
updated readme instructions on compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
anistark committed Apr 3, 2024
1 parent 4c32b53 commit 30e5327
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ You can see the full list of tasks available by running `just --list`.

### Compiling

Best to run `cargo update` to have synced versions just in case.

You can compile your module by running the following command:
```sh
just wasm
```
This should result in an artifacts directory being created in your project root. Inside you will find a `my_module.wasm` file that is your module’s binary.
This should result in an artifacts directory being created in your project root. Inside you will find a `my_module.wasm` file that is your module’s binary. Make sure it's the same name as mentioned in `Cargo.toml` file. If not, just edit it to match.

### Testing

Expand Down

0 comments on commit 30e5327

Please sign in to comment.