Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Jul 14, 2024
1 parent 1059d36 commit 5954d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Supported Extensions
Examples
--------

Please execute the command `$ cargo build --target wasm32-unknown-unknown --example hello` to build a WebAssembly binary that prints "Hello, World!" as follows:
Please execute the command `$ cargo build --target wasm32-unknown-unknown --example hello` to build the [examples/wasm/hello.rs](examples/wasm/hello.rs) file (as shown below) into a WebAssembly binary that prints "Hello, World!":

```rust
extern "C" {
Expand All @@ -54,7 +54,7 @@ $ cargo run --example call_hello
Hello, World!
```

The code of [call_hello.rs](examples/call_hello.rs) is as follows:
The code of [examples/call_hello.rs](examples/call_hello.rs) is as follows:
```rust
use nowasm::{Env, HostFunc, Module, Resolve, StdVectorFactory, Val};

Expand Down

0 comments on commit 5954d19

Please sign in to comment.