Crate jam_pvm_builder

Source
Expand description

Builder logic for creating PVM code blobs for execution on the JAM PVM instances (service code and authorizer code).

Macros§

pvm_binary

Enums§

BlobType
ProfileType

Functions§

build_authorizer
Build the authorizer crate in crate_dir for the RISCV target, convert to PVM code and finish by creating a <crate_name>.pvm blob file.
build_core_vm
Build the CoreVM guest program crate in crate_dir for the RISCV target, convert to PVM code and finish by creating a <crate_name>.pvm blob file.
build_pvm_blob
Build the PVM crate in crate_dir called crate_name for the RISCV target, convert to PVM code and finish by creating a .pvm blob file of path output_file. out_dir is used to store any intermediate build files.
build_service
Build the service crate in crate_dir for the RISCV target, convert to PVM code and finish by creating a <crate_name>.pvm blob file.