36#include <gtest/gtest.h>
54 dep_metadata.exports.append({Compiler_Module_Export_Kind::Function,
"add", {}});
59 main_metadata.exports.append({Compiler_Module_Export_Kind::Global,
"answer", {}});
81 const auto &
bound_main = bindings.modules.access(1);
Reusable binding helpers for linked module surfaces.
T & append()
Allocate a new entry to the end of array.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.
Compiler_Module_Link_Result compiler_link_module_surfaces(const DynArray< Compiler_Module_Descriptor > &descriptors, const DynArray< Compiler_Module_Metadata > &metadata, const DynArray< size_t > &order)
Links direct-import module surfaces into visible top-level views.
Compiler_Module_Binding_Result compiler_bind_module_surfaces(const Compiler_Module_Link_Result &linkage)
Binds linked module surfaces into one deterministic name view.
One module descriptor consumed by the reusable resolver.
std::string name
Stable module/source name.