Module wasmer_cli::commands::create_exe
source Β· 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 - CrossCompile π
- CrossCompileSetup π
- Given a pirita file, determines whether the file has one default command as an entrypoint or multiple (need to be specified via βcommand)
- PrefixMapCompilation π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 π