ziglua icon indicating copy to clipboard operation
ziglua copied to clipboard

luau loading script.

Open Lightnet opened this issue 1 year ago • 1 comments

I did try to use require or from import from luau. It crashed. I wonder if the file in script loading or not enable?

local foo require "foo"

I found LuaJIT and lua 5.-1 -5.4 is not working on 0.12.0. Found there compile option does not exist function I think.

Windows 10 64bit.

Lightnet avatar May 17 '24 18:05 Lightnet

Sorry for the delay on this, I've been swamped the last month. I'll take a closer look later today / over the next few days and get back to you

natecraddock avatar May 27 '24 18:05 natecraddock

Luau has a focus on sandboxing and does not support loading compiled modules with require. I'm not sure if there is anything for ziglua to handle here. If this is still an issue feel free to reopen.

natecraddock avatar Oct 05 '24 23:10 natecraddock