Skip to content

Commit 017ad5b

Browse files
authored
Merge pull request #3736 from autonomys/wasm32v1-none
migrate to wasm32v1-none target from wasm32-unknown-unknown
2 parents 238cf0e + ba1e47f commit 017ad5b

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docs/development.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
## Pre-requisites
22

3-
You'll have to have [Rust toolchain](https://rustup.rs/) installed as well as LLVM, Clang and CMake in addition to usual developer tooling.
3+
You'll have to have [Rust toolchain](https://rustup.rs/) installed as well as LLVM, Clang and CMake in addition to usual
4+
developer tooling.
45

5-
Check [crates/subspace-node](../crates/subspace-node/README.md) and [crates/subspace-farmer](../crates/subspace-farmer/README.md) for required dependencies.
6+
Check [crates/subspace-node](../crates/subspace-node/README.md)
7+
and [crates/subspace-farmer](../crates/subspace-farmer/README.md) for required dependencies.
68

79
## To Farm By Yourself (Offline)
810

@@ -38,10 +40,13 @@ You may need to follow both node & farmer requirements
3840

3941
- `cargo run --release --bin subspace-node -- run --dev` to run [a node](/crates/subspace-node)
4042
- To [start farming](/crates/subspace-farmer):
41-
- Single farm: `cargo run --release --bin subspace-farmer -- farm --reward-address REWARD-ADDRESS path=FARM0-DIR,size=FARM0-SIZE`
42-
- Multiple farms: `cargo run --release --bin subspace-farmer -- farm --reward-address REWARD-ADDRESS path=FARM0-DIR,size=FARM0-SIZE path=FARM1-DIR,size=FARM1-SIZE ...`
43+
- Single farm:
44+
`cargo run --release --bin subspace-farmer -- farm --reward-address REWARD-ADDRESS path=FARM0-DIR,size=FARM0-SIZE`
45+
- Multiple farms:
46+
`cargo run --release --bin subspace-farmer -- farm --reward-address REWARD-ADDRESS path=FARM0-DIR,size=FARM0-SIZE path=FARM1-DIR,size=FARM1-SIZE ...`
4347

44-
NOTE 1: You need to have `nightly` version of Rust toolchain with `wasm32-unknown-unknown` target available or else you'll get a compilation error.
48+
NOTE 1: You need to have `nightly` version of Rust toolchain with `wasm32v1-none` target available or else you'll get a
49+
compilation error.
4550
NOTE 2: Following the commands above, you will be farming in an offline setting (by yourself).
4651
NOTE 3: To farm in online setting, you can modify the command accordingly.
4752

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
22
channel = "nightly-2025-05-31"
33
components = ["rust-src"]
4-
targets = ["wasm32-unknown-unknown"]
4+
targets = ["wasm32v1-none"]
55
profile = "default"

0 commit comments

Comments
 (0)