Skip to main content

Module emit

Module emit 

Source
Expand description

Writing functions and data into a Cranelift module: an object file for nf build, or memory for code loaded in-process.

Structs§

Blob
The bytes of one piece of data, and the pointers in it, which the linker fills in.
Emitter
A module being written, with the contexts Cranelift reuses between functions.

Enums§

Target
What a pointer in data points at.

Functions§

host_isa
The instruction set of the system nf runs on. Code loaded in-process must not be position-independent; executables on macOS and Windows must be, since they load at a random address.