native_toolchain_zig 0.1.1
native_toolchain_zig: ^0.1.1 copied to clipboard
Zig support for Dart's build hooks. Automatically builds and bundles your Zig code with your Dart/Flutter application.
Examples #
zig_math — Simple Native Math Library #
A minimal example showing how to compile a Zig library and call its exported
functions from Dart via @Native FFI bindings.
zig_dart_api — Dart Native API & Isolate Communication #
Demonstrates integrating with dart_api_dl.h from Zig to pass messages between
Dart isolates and native code using Dart_NewNativePort_DL and Dart_PostCObject_DL.