|
Loom C API
Public Loom compiler C API
|
Target emission options. More...
#include <emit.h>
Data Fields | |
| loomc_structure_type_t | type |
| Structure type. Must be LOOMC_STRUCTURE_TYPE_EMIT_OPTIONS when nonzero. | |
| loomc_host_size_t | structure_size |
| Size of this structure in bytes. | |
| const void * | next |
| Extension chain for emission options. | |
| loomc_string_view_t | artifact_format |
| Artifact format to emit. | |
| loomc_string_view_t | identifier |
| Artifact identifier for the primary output. | |
| loomc_emit_artifact_flags_t | artifact_flags |
| Requested artifact classes. Zero requests the primary artifact. | |
Target emission options.
Callers zero-initialize this descriptor, set type to LOOMC_STRUCTURE_TYPE_EMIT_OPTIONS, set structure_size to sizeof(loomc_emit_options_t), and fill the requested fields. Attach loomc_artifact_manifest_options_t, loomc_compile_report_options_t, loomc_option_dict_t, and target-specific descriptors through next.
| loomc_string_view_t loomc_emit_options_t::artifact_format |
Artifact format to emit.
Empty selects the only linked emitter and fails if the target environment has zero or multiple emitters.
| loomc_string_view_t loomc_emit_options_t::identifier |
Artifact identifier for the primary output.
Empty selects the emitter's default identifier.