dotnet-wasi-sdk
dotnet-wasi-sdk copied to clipboard
An SDK for building .NET projects as standalone WASI-compliant modules
After attempting to figure out why my prototype was throwing, it looks like garbage collection is broken in Wasi.Sdk both when called by the runtime in the oridinary course of...
Error dump: ``` Can't find custom attr constructor image: Dinghy.dll mtoken: 0x0a00001a due to: Could not resolve type with token 01000016 from typeref (expected class 'System.Runtime.CompilerServices.NullableAttribute' in assembly 'System.Runtime, Version=8.0.0.0,...
Hi there! As noted in https://github.com/SteveSandersonMS/dotnet-wasi-sdk/issues/50#issuecomment-1381490203, when building a .NET application that uses `Wasi.Sdk 0.1.3-preview.10012` to a `.wasm` file and running it with `Wasmtime`, the Wasm crashes with a failed...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 0.39.1 to 6.0.2. Commits 00fd7bc Release Wasmtime 6.0.2 (#6274) 4b9ce0e Merge pull request from GHSA-ch89-5g45-qwc7 b6bc33d Release Wasmtime 6.0.1 (#5939) 5697586 Merge pull request from GHSA-ff4p-7xrq-q5r8 fc13ee1...
```c# // Program.cs Console.WriteLine(); string[] arguments = Environment.GetCommandLineArgs(); Console.WriteLine("GetCommandLineArgs: {0}", string.Join(", ", arguments)); ``` ```sh dotnet run hello # dotnet run -- hello ; wasmtime hello ; wasmtime -- hello...
I followed the README instructions to create a simple web app but I'm getting the following error when running `dotnet run`. ``` Building... info: Microsoft.Hosting.Lifetime Now listening on: http://localhost:5000 thread...
[This answer](https://github.com/dotnet/aspnetcore/issues/46344#issuecomment-1410063222) from @SteveSandersonMS points at a very attractive opportunity for many future users of the wasi sdk: build a standalone wasm output to be called from other environments. It...
I created a console app, added the `Wasi.Sdk` package and tried to build it: 
I created a new project with dotnet new webapi -o webapiapp. I know that the example only uses web project. Is webapi supported? The dll Micrsooft.AspNetCore.OpenApi.dll is in the output...
I'm currently looking into using `.wasm` as a standalone module to run on some custom WASI-compliant runtime. But it's impossible to debug any issues with calling native (`.c`) compiled functions...