Files
unicorn/bindings/zig/README.md
Jordan Moore c39e80231c 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
2024-05-06 21:02:24 +08:00

25 lines
687 B
Markdown

# Unicorn-engine-Zig
[Zig](https://ziglang.org/) bindings for the [Unicorn](http://www.unicorn-engine.org/) emulator with utility functions.
*Unicorn* is a lightweight multi-platform, multi-architecture CPU emulator framework
based on [QEMU](http://www.qemu.org/).
## How to use
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`