zig_lua_test

Packages:

  • Zig 0.12.0
  • Lua 5.4.6 dev

OS:

  • Windows 10 64bit

Information:

Simple test link lib from c to zig to run program to load script. Not working ATM.

This will download Lua from github.

Note this is just a test. For 0.12.0 API changes.

const script_file: [*c]const u8 = "script.lua";
_ = try cl.luaL_loadfile(L, script_file);
error: expected type '[*c]const u8', found '?*anyopaque'

Refs:

Cache:

C:\Users\<user>\AppData\Local\zig