Module section

Source
Expand description

This module define the required structures to emit custom Sections in a Compilation.

The functions that access a custom CustomSection would need to emit a custom relocation: RelocationTarget::CustomSection, so it can be patched later by the engine (native or JIT).

Structs§

ArchivedCustomSection
An archived CustomSection
ArchivedSectionBody
An archived SectionBody
CustomSection
A Section for a Compilation.
CustomSectionResolver
The resolver for an archived CustomSection
SectionBody
The bytes in the section.
SectionBodyResolver
The resolver for an archived SectionBody
SectionIndex
Index type of a Section defined inside a WebAssembly Compilation.
SectionIndexResolver
The resolver for an archived SectionIndex

Enums§

CustomSectionProtection
Custom section Protection.
CustomSectionProtectionResolver
The resolver for an archived CustomSectionProtection

Traits§

CustomSectionLike
Any struct that acts like a CustomSection.