Hako.Backend.Wasmtime
1.0.13
dotnet add package Hako.Backend.Wasmtime --version 1.0.13
NuGet\Install-Package Hako.Backend.Wasmtime -Version 1.0.13
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hako.Backend.Wasmtime" Version="1.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hako.Backend.Wasmtime" Version="1.0.13" />
<PackageReference Include="Hako.Backend.Wasmtime" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hako.Backend.Wasmtime --version 1.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hako.Backend.Wasmtime, 1.0.13"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Hako.Backend.Wasmtime@1.0.13
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Hako.Backend.Wasmtime&version=1.0.13
#tool nuget:?package=Hako.Backend.Wasmtime&version=1.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Hako.Backend.Wasmtime
Wasmtime-based backend for Hako using the Cranelift JIT compiler for high performance.
Installation
dotnet add package Hako.Backend.Wasmtime
Usage
using HakoJS;
using HakoJS.Backend.Wasmtime;
using var runtime = Hako.Initialize<WasmtimeEngine>();
// Use runtime...
AOT Static Linking
When publishing with native AOT compilation, you can statically link Wasmtime libraries into your executable to produce a single file:
<PropertyGroup>
<WasmtimeStaticLink>true</WasmtimeStaticLink>
</PropertyGroup>
Note: Static linking requires the Wasmtime.6over3 fork:
<PackageReference Include="Wasmtime.6over3" Version="38.0.3-dev" />
Documentation
See the main Hako documentation for complete usage and API reference.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Hako.Backend (>= 1.0.13)
- Wasmtime.6over3 (>= 38.0.3-dev)
-
net9.0
- Hako.Backend (>= 1.0.13)
- Wasmtime.6over3 (>= 38.0.3-dev)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.