wasm-builder: Make it easier to build a WASM binary (#4177)

Basically combines all the recommended calls into one
`build_using_defaults()` call or `init_with_defaults()` when there are
some custom changes required.
This commit is contained in:
Bastian Köcher
2024-04-22 21:28:27 +02:00
committed by GitHub
parent 3380e21cd9
commit bd9287f766
17 changed files with 64 additions and 86 deletions
+12
View File
@@ -0,0 +1,12 @@
title: "wasm-builder: Make it easier to build a WASM binary"
doc:
- audience: [Runtime Dev, Node Dev]
description: |
Combines all the recommended calls of the `WasmBuilder` into
`build_using_defaults()` or `init_with_defaults()` if more changes are required.
Otherwise the interface doesn't change and users can still continue to use
the "old" interface.
crates:
- name: substrate-wasm-builder