mirror of
https://github.com/fluencelabs/asmble
synced 2025-06-26 04:51:35 +00:00
Clarify Rust example build prereqs
This commit is contained in:
@ -9,8 +9,10 @@ to `asmble.generated.RustSimple` in `build/wasm-classes`. The class is used by
|
||||
[Main.java](src/main/java/asmble/examples/rustsimple/Main.java). It is instantiated with a set of memory and then
|
||||
`add_one` is invoked with `25` to return `26`.
|
||||
|
||||
To run it yourself, run the following from the root `asmble` dir (assuming you have built the Gradle wrapper described
|
||||
in the root README's "Building and Testing" section):
|
||||
To run it yourself, you need the Gradle wrapper installed (see the root README's "Building and Testing" section, namely
|
||||
`gradle wrapper` in the root w/ latest Gradle) and the latest Rust nightly (i.e. `rustup default nightly`) with the
|
||||
`wasm32-unknown-unknown` target installed (i.e. `rustup target add wasm32-unknown-unknown --toolchain nightly`). Then
|
||||
run the following from the root `asmble` dir:
|
||||
|
||||
gradlew --no-daemon :examples:rust-simple:run
|
||||
|
||||
|
Reference in New Issue
Block a user