|
Loom C API
Public Loom compiler C API
|
WebAssembly compiler package. More...
Go to the source code of this file.
Macros | |
| #define | LOOMC_ARTIFACT_FORMAT_WASM_BINARY "wasm-binary" |
| WebAssembly binary module artifact format. | |
Functions | |
| loomc_status_t | loomc_target_environment_create_wasm (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment) |
| Creates a target environment containing the WebAssembly compiler and emitter. | |
WebAssembly compiler package.
The package compiles functions for WebAssembly SIMD128 and emits canonical WebAssembly binary modules. Compilation and emission require no live device or platform runtime.
| loomc_status_t loomc_target_environment_create_wasm | ( | loomc_allocator_t | allocator, |
| loomc_target_environment_t ** | out_target_environment ) |
Creates a target environment containing the WebAssembly compiler and emitter.
| allocator | Host allocator used for target-environment storage. |
| out_target_environment | Receives one retained environment on success. |