Skip to content

DutchGhost/zigiffy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zigiffy

Rust FFI with Zig

This is a project grown out of curiosity in Rust and Zig. The idea is to make Rust interact with Zig code. This works, because both languages have the ability to make use of C FFI.

The name zigiffy is a combination of Zig and FFI.
The counterpart, rustiffy also exists: rustiffy

Build

This projects works in Windows under the WSL. In order for build.rs to call the zig compiler, one needs to set ZIG_COMPILER as an environment variable to the full path of where your zig compiler is located:

export ZIG_COMPILER=~/zig-linux-x86_64-0.6.0/zig

About

Rust FFI with Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published