Skip to content

Commit 7b39f36

Browse files
committed
draft prose for host
1 parent ca9550d commit 7b39f36

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

document/core/exec/instructions.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4141,7 +4141,16 @@ Furthermore, the resulting store must be :ref:`valid <valid-store>`, i.e., all d
41414141
\end{array} \\
41424142
\end{array}
41434143
4144-
.. todo:: prose for host execution
4144+
During its execution, a host function call may do any of the following.
4145+
4146+
- Instantiate an arbitrary WebAssembly module.
4147+
- Allocate a new host function.
4148+
- Continue execution, possibly spawning a new thread, with no other observable effects.
4149+
- Terminate with a list of values that respects the host function's type annotation.
4150+
- Terminate with a trap.
4151+
4152+
.. todo:: better prose
4153+
41454154
.. todo:: reconcile with old-style host function formulation
41464155

41474156
.. math::

0 commit comments

Comments
 (0)