mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
Remove the no_std feature from the WASM builder (#3640)
* Remove the no_std feature from the WASM builder * Address review * More fixing * Address review again * Fix missing Cargo.lock
This commit is contained in:
committed by
Bastian Köcher
parent
49ad0dbdff
commit
9ea3d8fc52
@@ -9,7 +9,6 @@ A project that should be compiled as a WASM binary needs to:
|
||||
|
||||
1. Add a `build.rs` file.
|
||||
2. Add `substrate-wasm-builder-runner` as dependency into `build-dependencies`.
|
||||
3. Add a feature called `no-std`.
|
||||
|
||||
The `build.rs` file needs to contain the following code:
|
||||
|
||||
@@ -26,8 +25,6 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
The `no-std` feature will be enabled by WASM builder while compiling your project to WASM.
|
||||
|
||||
As the final step, you need to add the following to your project:
|
||||
|
||||
```rust
|
||||
|
||||
Reference in New Issue
Block a user