We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59f054 commit a351162Copy full SHA for a351162
test/util.ts
@@ -29,6 +29,9 @@ function getLuaBindingsForVersion(target: tstl.LuaTarget): { lauxlib: LauxLib; l
29
const { lauxlib, lua, lualib } = require("lua-wasm-bindings/dist/lua.53");
30
return { lauxlib, lua, lualib };
31
}
32
+ if (target === tstl.LuaTarget.LuaJIT) {
33
+ throw Error("Can't use executeLua() or expectToMatchJsResult() wit LuaJIT as target!");
34
+ }
35
36
const { lauxlib, lua, lualib } = require("lua-wasm-bindings/dist/lua.54");
37
0 commit comments