obelisk_component_builder

Function build_webhook_endpoint

Source
pub fn build_webhook_endpoint()
Expand description

Build the parent webhook endpoint WASM component and place it into the target directory.

This function must be called from build.rs. It reads the current package name and strips the -builder suffix to determine the target package name. Then, it runs cargo build with the appropriate target triple and sets the --target directory to the output of [get_target_dir].