Open
Description
重现步骤:
-
Set up SDKs
If you don't already have it, install .NET 10+ preview SDK
可以直接用这个链接https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-10.0.100-preview.2-windows-x64-installer -
Install template and build
dotnet new install BytecodeAlliance.Componentize.DotNet.Templates
dotnet new componentize.wasi.cli -o MyApp
dotnet build MyApp
把iwasm.exe复制到MyApp\bin\Debug\net10.0\wasi-wasm\native -
执行 .\iwasm.exe .\MyApp.wasm
WASM module load failed: unknown binary version
4.我下载了wasmtime.exe ,执行
.\wasmtime.exe .\MyApp2.wasm
就能得到Hello world from compontize-dotnet!
Metadata
Metadata
Assignees
Labels
No labels