obelisk_component_builder

Function build_activity

Source
pub fn build_activity()
Expand description

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