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
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,18 @@
1
1
# Binaryen.NET
2
2
C# Bindings for the Binaryen WebAssembly toolchain.
3
3
4
+
## Building
5
+
-**If you only changed C# code:** The project automatically uses the pre-built native binaries from `runtimes/`, no manual compilation is needed.
6
+
-**If you updated Binaryen itself:** Rebuild Binaryen as a shared library, then place the compiled binaries for each target runtime into the `runtimes/` folder.
7
+
8
+
You can build the C# project by running:
9
+
```bash
10
+
dotnet build
11
+
```
12
+
from the directory containing `Binaryen.NET.sln`.
13
+
14
+
To build or update the native Binaryen library (`libbinaryen`), follow the instructions in the [Binaryen repository](https://github.com/WebAssembly/binaryen).
0 commit comments