Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
loomc_target_binding_t Struct Reference

One authored target declaration to bind to one target profile. More...

#include <target.h>

Data Fields

loomc_string_view_t target_symbol
 Target declaration symbol name. A leading @ is accepted.
loomc_target_profile_ttarget_profile
 Complete target profile borrowed for the invocation.

Detailed Description

One authored target declaration to bind to one target profile.

Every binding key must resolve to a target.decl in the module being compiled. The profile seeds all target-assignable functions authored with target(@target_symbol). Semantic callgraph specialization propagates that target context through reachable callees.


The documentation for this struct was generated from the following file: