Module wasmer_cli::commands::create_exe
source · Expand description
Create a standalone native executable for a given Wasm file.
Modules§
- utils 🔒
Structs§
- Command entrypoint for multiple commands
- The options for the
wasmer create-exe
subcommand - Given a pirita file, determines whether the file has one default command as an entrypoint or multiple (need to be specified via –command)
- 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§
- 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)
- 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
- Compile the C code.
- Serialize a set of volumes so they can be read by the C API.