hooks library

Functions

buildRustCrate(BuildInput input, BuildOutputBuilder output, {required String crate, required String asset}) → Future<void>
Builds crate (a cdylib in the workspace's crates/) for the target in input, or downloads it built, and adds it to output as the code asset named asset of the package whose hook this is.

Exceptions / Errors

HookException
What a build hook throws when it can't build.