Expand description
Create a standalone native executable for a given Wasm file.
ModulesΒ§
- http_
fetch π - utils π
StructsΒ§
- Command entrypoint for multiple commands
- The options for the
wasmer create-exe
subcommand - Cross
Compile π - Cross
Compile πSetup - Given a pirita file, determines whether the file has one default command as an entrypoint or multiple (need to be specified via βcommand)
- Prefix
MapCompilation πPrefix map used during compilation of object files - Volume object file (name + path to object file)
EnumsΒ§
- In pirita mode, specifies whether multi-atom pirita files should be allowed or rejected
- Url or version to download the release from
ConstantsΒ§
FunctionsΒ§
- compile_
atoms π - Given a pirita file, compiles the .wasm files into the target directory
- Create the static_defs.h header files in the /include directory
- Generate the wasmer_main.c that links all object files together (depending on the object format / atoms number)
- get_
entrypoint π - get_
module_ πinfos - link_
exe_ πfrom_ dir Given a directory, links all the objects from the directory appropriately - Link compiled objects using the system linker
- Given a .wasm file, compiles the .wasm file into the target directory and creates the entrypoint.json
- run_
c_ πcompile Compile the C code. - volume_
file_ πblock Serialize a set of volumes so they can be read by the C API. - write_
entrypoint π - write_
volume_ πobj