rune::runtime

Module 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.
  • 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 compilation.

Traits§

Type Aliases§