Module rune::runtime::unit

source ·
Expand description

A single execution unit in the rune virtual machine.

A unit consists of a sequence of instructions, and lookaside tables for metadata like function locations.

Re-exports§

  • pub use self::storage::EncodeError;

Structs§

  • Unit stored as array of instructions.
  • Error indicating that a bad instruction was located at the given instruction pointer.
  • Error indicating that a bad instruction was located at the given instruction pointer.
  • Unit stored as byte code, which is a more compact representation than ArrayUnit, but takes more time to execute since it needs to be decoded as it’s being executed.
  • Instructions from a single source file.
  • Instructions and debug info from a single source file.

Traits§

Type Aliases§