WASM: Introduce the host functions registry builder
Context
The main motivation for this MR is to prepare the introduction of
per-revision host functions in the WASM PVM.
The newly introduced [builder] type allows to incrementally constructs
a [registry], and share a common base between two registries. This
should makes the use of a ad-hoc [write_debug] implementation less
demanding, performance-wise.
Manually testing the MR
CI shall prevail.
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rst
for the protocol and the environment,CHANGES.rst
at the root of the repository for everything else). -
Select suitable reviewers using the Reviewers
field below. -
Select as Assignee
the next person who should take action on that MR