Module util

Module util 

Source
Expand description

General utilities for bindgen macros

Functionsยง

emit_decls
Deal with $HYPERLIGHT_COMPONENT_MACRO_DEBUG: if it is present, save the given token stream (representing the result of macroexpansion) to the debug file and include that file instead of directly returning the given token stream.
read_wit_type_from_file
Read and parse a WIT type encapsulated in a wasm file from the given filename, relative to the cargo manifest directory.