/zig-example

Using Metacall as a C library from Zig, loading and running a CommonJS node module.

Primary LanguageZig

Metacall Zig example

Using Metacall as a C library from Zig, loading and running a CommonJS node module.

Setup

./dl.sh
zig build run

System dependencies

  • curl
  • tar
  • zig

Tested on x86_64 linux, with zig 0.11.0-dev.1268+0e66df209.

Also see MC_TODO.md