diff --git a/README.md b/README.md index b17fcd4..98aec9e 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,25 @@ Add the platform specific LLVM package: ``` ## On Linux -dotnet add package runtime.linux-x64.microsoft.dotnet.ilcompiler.llvm --version 10.0.0-alpha.1.24573.1 --prerelease +dotnet add package runtime.linux-x64.microsoft.dotnet.ilcompiler.llvm --prerelease ## or ## On Windows -dotnet add package runtime.windows-x64.microsoft.dotnet.ilcompiler.llvm --version 10.0.0-alpha.1.24573.1 --prerelease +dotnet add package runtime.win-x64.microsoft.dotnet.ilcompiler.llvm --prerelease ``` -Now you can `dotnet publish` to produce a `.wasm` file using NativeAOT compilation. +Edit the `.csproj` file, adding the following inside the ``: + +``` +wasi-wasm +false +true +true +true +``` + +Now you can `dotnet build` to produce a `.wasm` file using NativeAOT compilation. ### 4. Run the WebAssembly binary