Respect cargo offline env variable in wasm builder (#11735)
* Support offline env variable in wasm builder * Clean up * Improve checks Co-authored-by:Bastian Köcher <bkchr@users.noreply.github.com> * Update crate docs * Add docs to `lib.rs` and introduce helper method `offline_build` Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
Showing
- substrate/utils/wasm-builder/README.md 1 addition, 0 deletionssubstrate/utils/wasm-builder/README.md
- substrate/utils/wasm-builder/src/lib.rs 5 additions, 0 deletionssubstrate/utils/wasm-builder/src/lib.rs
- substrate/utils/wasm-builder/src/wasm_project.rs 25 additions, 7 deletionssubstrate/utils/wasm-builder/src/wasm_project.rs
Please register or sign in to comment