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

687 B

Unicorn-engine-Zig

Zig bindings for the Unicorn emulator with utility functions.

Unicorn is a lightweight multi-platform, multi-architecture CPU emulator framework based on QEMU.

How to use

Using the Zig Build System, you can include the following into your local build.zig.zon

.{
    .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