docs.rs failed to build gasm-0.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
gasm-0.0.1
Gear WASM Builder
This is a helper crate that can be used in build scripts for building Gear programs.
Usage
- Add the
gear-wasm-buidercrate as a build dependency to theCargo.toml:
# ...
[]
= "0.1.2"
# ...
- Create a
build.rsfile and place it at the directory withCargo.toml:
- Use
cargoas usually:
- Find the built WASM binaries in
target/wasm32-unknown-unknown/<profile>directory:
.wasm— original WASM built from the source files.opt.wasm— optimised WASM binary to be submitted to the blockchain.meta.wasm— metadata providing WASM binary for auxiliary purposes
- Also, you can include a generated
wasm_binary.rssource file to use the WASM code while e.g. writing tests.
License
Source code is licensed under GPL-3.0-or-later WITH Classpath-exception-2.0.