You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(if needed, replace `MyApp.wasm` with the actual name of your project)
46
+
(if needed, replace `MyApp` with the actual name of your project)
81
47
82
48
## Creating a WASI 0.2 component, including WIT support
83
49
Lastest version of NativeAOT compiler package and the mono support in dotnet 9-preview 7 build native wasi 0.2 components with no additional tools.
@@ -285,6 +251,49 @@ The calculator example above works easily because it doesn't need to allocate me
285
251
286
252
If you get a build error along the lines of _failed to encode a component from module ... module does not export a function named `cabi_realloc`_ then check you have remembered to add this line.
287
253
254
+
### Create a project manually
255
+
256
+
*`dotnet new console -o MyApp`
257
+
*`cd MyApp`
258
+
259
+
Create a `nuget.config` file and add the `dotnet-experimental` package source for the `NativeAOT-LLVM` dependency:
260
+
261
+
*`dotnet new nugetconfig`
262
+
* Add these keys to `nuget.config` after `<clear />`:
0 commit comments