-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
I tried to compile my project with LuaJIT on Windows like this:
> zig build -Doptimize=ReleaseFast -Dtarget=x86_64-windows-gnu
install
└─ install Flowerpot
└─ compile exe Flowerpot ReleaseFast x86_64-windows-gnu
└─ compile lib lua ReleaseFast x86_64-windows-gnu
└─ run exe buildvm (lj_vm.o) failure
Error: no PE object support for this target
error: stderr:
Error: no PE object support for this targetI bundle LuaJIT like this:
const zlua = b.dependency("zlua", .{
.target = target,
.optimize = .ReleaseFast,
.shared = false,
.lang = .luajit,
});
exe.root_module.addImport("zlua", zlua.module("zlua"));Not entirely sure why this is happening, but it's pretty bad :(
Metadata
Metadata
Assignees
Labels
No labels