Skip to content

Repository files navigation

luajit

This is lde's fork of LuaJIT.

It contains features for the sake of improved cross platform capabilities, and those that would benefit the lde runtime.

Supported Platforms

Here's a table of supported platforms and download links to the luajit binary.

PlatformArchitecturelibcDownload
Linuxx86-64glibc (2.35+)✅ Download
Linuxx86-64musl✅ Download
Linuxaarch64 (ARM64)glibc (2.35+)✅ Download
Linuxaarch64 (ARM64)musl✅ Download
Linuxaarch64 (ARM64)android✅ Download
Windowsx86-64-✅ Download
Windowsaarch64 (ARM64)-✅ Download
macOSx86-64 (Intel)-✅ Download
macOSaarch64 (Apple Silicon)-✅ Download

If you need to get the library instead, check out the release page manually and download the corresponding libluajit, although you would usually do this programmatically.

Extensions

There may be extensions or slight divergence from standard LuaJIT in order to support more platforms and for functionality that would significantly benefit lde. But they will be minimal as to avoid the maintenance burden.

os.tmpname() uses TMPDIR

The os.tmpname() function now resolves the temporary directory dynamically instead of hardcoding /tmp. It checks the TMPDIR environment variable (POSIX standard), falling back to /tmp if unset.

This makes os.tmpname() work correctly on platforms where /tmp is not writable or does not exist, such as:

  • Termux (Android) — TMPDIR points to $PREFIX/tmp
  • Containerized or sandboxed environments with custom temp locations
  • Any system that follows the POSIX convention of setting TMPDIR

About

LuaJIT fork for lde

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages