Expand description
Create a standalone native executable for a given Wasm file.
ModulesΒ§
- http_
fetch π - utils π
StructsΒ§
- Command
Entrypoint - Command entrypoint for multiple commands
- Create
Exe - The options for the
wasmer create-exe
subcommand - Cross
Compile π - Cross
Compile πSetup - Entrypoint
- 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
- Volume object file (name + path to object file)
EnumsΒ§
- Allow
Multi Wasm - In pirita mode, specifies whether multi-atom pirita files should be allowed or rejected
- UrlOr
Version - Url or version to download the release from
ConstantsΒ§
FunctionsΒ§
- compile_
atoms π - compile_
pirita_ πinto_ directory - Given a pirita file, compiles the .wasm files into the target directory
- create_
header_ πfiles_ in_ dir - Create the static_defs.h header files in the /include directory
- generate_
wasmer_ πmain_ c - 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_
objects_ πsystem_ linker - Link compiled objects using the system linker
- prepare_
directory_ πfrom_ single_ wasm_ file - Given a .wasm file, compiles the .wasm file into the target directory and creates the entrypoint.json
- run_
c_ πcompile - Compile the C code.
- serialize_
volume_ πto_ webc_ v1 - volume_
file_ πblock - Serialize a set of volumes so they can be read by the C API.
- write_
entrypoint π - write_
volume_ πobj