Crate pax_compiler

source ·

Modules

Structs

Enums

Constants

Functions

  • Runs cargo build (or wasm-pack build) with appropriate env in the directory of the generated chassis project inside the specified .pax dir Returns an output object containing bytestreams of stdout/stderr as well as an exit code
  • For the specified file path or current working directory, first compile Pax project, then run it with a patched build of the chassis appropriate for the specified platform See: pax-compiler-sequence-diagram.png
  • Executes a shell command to run the feature-flagged parser at the specified path Returns an output object containing bytestreams of stdout/stderr as well as an exit code