Skip to content

allyourcodebase/libffi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libffi zig

libffi, packaged for the Zig build system.

Supports x86_64, x86, aarch64, and arm on Linux, macOS, and BSDs.

Using

First, update your build.zig.zon:

zig fetch --save git+https://github.com/allyourcodebase/libffi.git

Then in your build.zig:

const libffi = b.dependency("libffi", .{ .target = target, .optimize = optimize });
exe.linkLibrary(libffi.artifact("ffi"));

About

libffi built with the zig build system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages