Update Zig bindings to Zig 0.12.0 (#1951)
* update zig bindings to Zig 0.12.0 * support zig package manager * Fix zig macos ci build * Make the macos build use 1 process instead of hitting the macos process limit immediately, utilize the build.zig `-Dparallel false` option for macos ci * Split the macos ci into a new build stage (out of the ubuntu, macos build maxtrix), to allow for multiple architecture builds in the future after the zig bindings improve
This commit is contained in:
@@ -7,4 +7,18 @@ based on [QEMU](http://www.qemu.org/).
|
||||
|
||||
## How to use
|
||||
|
||||
Add to your project the file `unicorn/unicorn.zig` that will manage all the available architectures.
|
||||
Using the [Zig Build System](https://ziglang.org/learn/build-system/), you can include
|
||||
the following into your local `build.zig.zon`
|
||||
|
||||
``` zig
|
||||
.{
|
||||
.dependencies = .{
|
||||
.unicorn = .{
|
||||
.url = "https://github.com/unicorn-engine/unicorn/archive/<ref SHA>.tar.gz",
|
||||
.hash = "<hash>",
|
||||
}
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
Note that currently the only module exported publicly is `unicorn-sys`
|
||||
|
||||
Reference in New Issue
Block a user