Alien::wasmtime - Find or download wasmtime for use by other Perl modules
version 0.04
use Alien::wasmtime; use FFI::Platypus 1.00; my $ffi = FFI::Platypus->new( api => 1, lib => [Alien::wasmtime->dynamic_libs], );
This Alien provides wasmtime a runtime for Wasm (Web Assembly). It's intended to be used by FFI (not XS) to build Wasm bindings for Perl.
wasmtime
my @libs = Alien::wasmtime->dynamic_libs;
Returns the list of libraries needed to use wasmtime via FFI.
Wasm and wasmtime is a moving target at the moment, so expect breakage until it becomes stable.
Normally Aliens should try to use the system library before downloading from the internet. Since wasmtime isn't provided by many package managers yet, we skip this step for now. In the future we will support probing of the system wasmtime.
This Alien is geared for use with FFI only.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2020 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.
To install Alien::wasmtime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::wasmtime
CPAN shell
perl -MCPAN -e shell install Alien::wasmtime
For more information on module installation, please visit the detailed CPAN module installation guide.