Readd technical restrictions section (closes #22)

This commit is contained in:
Nikolas 2022-04-27 14:10:25 +02:00 committed by GitHub
parent a5b3846731
commit 85f1b5b8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ Bindings tested on raylib version 4.0.0-dev and Zig 0.9.0
Thanks to jessrud, mbcrocci, rcorre, Gertkeno and sacredbirdman for their contributions to this binding.
The binding currently only supports a subset of raylib. For more information read [here](https://github.com/Not-Nik/raylib-zig#technical-restrictions).
The binding currently only supports a subset of raylib. For more information read [here](#technical-restrictions).
## Example
@ -54,6 +54,11 @@ pub fn main() anyerror!void {
}
```
## Technical restrictions
Due to zig being a relatively new language it does [not have full C ABI support](https://github.com/ziglang/zig/issues/1481) at the moment. For use that mainly means we
can't use any functions that return structs that are less than 16 bytes large.
## Building the examples
To build all available examples simply `zig build examples`. To list available examples run `zig build --help`. If you want to run and examples, say `basic_window`