Find or build the cargo capi command
use Alien::cargo::capi;
use Env qw( @PATH );
unshift @PATH, Alien::cargo::capi->bin_dir;
system 'cargo', 'capi', 'build';
This Alien provides the cargo capi command.
my @dir = Alien::cargo::capi->bin_dir;
Returns the list of directories (if any) that need to be added to the PATH
to use
cargo cpi
.
Graham Ollis [email protected]
This software is copyright (c) 2024 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.