docs: add zig section (#1051)

Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
This commit is contained in:
Edoardo Vacchi
2023-01-23 11:54:05 +01:00
committed by GitHub
parent 2a584a8937
commit c324c671d0
4 changed files with 198 additions and 5 deletions

View File

@@ -22,8 +22,3 @@ This example uses `@panic()` rather than `unreachable` to handle errors
since `unreachable` emits a call to panic only in `Debug` and `ReleaseSafe`
mode. In `ReleaseFast` and `ReleaseSmall` mode, it would lead into undefined
behavior.
If building wasm with a pre-release version of Zig 0.10.0, use `-fstage1` to
avoid [bugs in the new compiler][1].
[1]: https://github.com/ziglang/zig/wiki/Self-Hosted-Compiler-Upgrade-Guide#is-it-time-to-upgrade