obelisk_component_builder

Function build_workflow

Source
pub fn build_workflow()
Expand description

Build the parent workflow 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].