Expand description
Top-level lib.rs for cranelift_module.
Structs§
- Information about a data object which can be accessed.
- A description of a data object.
- A data object identifier for use in the
Moduleinterface. - A function identifier for use in the
Moduleinterface. - Information about a function which can be called.
- This provides a view to the state of a module which allows
ir::ExternalNames to be translated intoFunctionDeclarations andDataDeclarations. - A module relocation.
- Record of the arguments cranelift passes to
TrapSink::trap.
Enums§
- A declared name may refer to either a function or data declaration
- This specifies how data is to be initialized.
- Linkage refers to where an entity is defined and who can see it.
- Error messages for all
Modulemethods - A translated
ExternalNameinto something global we can handle.
Constants§
- Version number of this crate.
Traits§
- A
Moduleis a utility for collecting functions and data objects, and linking them together.
Functions§
- Default names for ir::LibCalls. A function by this name is imported into the object as part of the translation of a ir::ExternalName::LibCall variant.
Type Aliases§
- A convenient alias for a
Resultthat usesModuleErroras the error type.