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 ininput, or downloads it built, and adds it tooutputas the code asset namedassetof the package whose hook this is.
Exceptions / Errors
- HookException
- What a build hook throws when it can't build.