Skip to content
allyourcodebasePublic

About

Availability for capstone as Zig dependency

Resources

Stars

14 stars

Watchers

2 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

CI

capstone

This is capstone, packaged for Zig.

Installation

First, update your build.zig.zon:

# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/capstone.git#5.0.1

You can then import capstone in your build.zig with:

const capstone_dependency = b.dependency("capstone", .{
    .target = target,
    .optimize = optimize,
});
your_exe.linkLibrary(capstone_dependency.artifact("capstone"));

About

Availability for capstone as Zig dependency

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages