pub fn create_from_wit(
wit_path: &Path,
world: &str,
patterns: &[&str],
) -> Result<Vec<u8>>Expand description
Create an interceptor component for a WIT world.
wit_path: path to WIT file or directoryworld: world name whose exports define the interceptor contractpatterns: match patterns for selective interception (empty = intercept all)
Returns the validated component bytes.