OpenHarmony Zig-addon
Note: This project is still in the early stage of development and is not ready for use. You can use it as a toy.
zig-addon
This project can help us to build a native module library for OpenHarmony/HarmonyNext with zig-lang.
Note: This project is still in the early stage of development and is not ready for use. You can use it as a toy.
Example
We provide a simple example to help you get started in examples/add
.
Just run the following command to build the example:
zig build
And you can get libadd.so
in zig-out/dist
.
Original GitHub link: harmony-contrib/zig-addon: A zig tool use zig to build harmony native module