-
v1.2.1-2 Stable
leso-kn released this
2026年07月12日 14:16:29 +02:00 | 0 commits to main since this releaseFixes
- Fix installation under Lua 5.5
- Bump compat53 to 0.15
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
0 downloads
- Fix installation under Lua 5.5
-
v1.2.1 Stable
leso-kn released this
2026年06月05日 12:19:56 +02:00 | 3 commits to main since this releaseFixes
- Allow to reload targetrules dynamically
Downloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
0 downloads
-
v1.2.0 Stable
sewbacca released this
2026年06月02日 21:52:34 +02:00 | 7 commits to main since this releaseFeatures
- Added support for cross-compilation
- Made WebAssembly an officially supported target
- Added Teal support
- Compiler Extensions
- Custom
otypesupport - Custom toolchain support
- Custom source language support
- Custom
- New configuration API: LRocket Spec
- Added new log-level
detail- Shows many details such as line numbers of unresolved
requireand--lr:embedstatements - Use log-level
debugfor I/O-grade debugging
- Shows many details such as line numbers of unresolved
- Lots and lots of internal refactorings
Fixes
- Fixed: Lua 5.1 compatibility for
--optimize - Fixed(Linux): Correctly display archive path in
package.searcherserror messages
lra
- The LRocket Archive format now supports file types (
typefield)- Currently
fileandlink
- Currently
- LRocket binaries now support custom runtime search paths
Documentation
- Added dark theme
Dev
- Use
lrocketas a library (experimental) - Make LRocket a provider for luarocks-cross
- Print warnings on ABI mismatch for custom
otypes, toolchains and source languages
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
0 downloads
- Added support for cross-compilation
-
v1.1.0 Stable
sewbacca released this
2025年07月11日 22:43:02 +02:00 | 117 commits to main since this releaseAs of this release,
--otype=sharedis stable for native Lua modules (.dll/.so)Features
- Dawn of the lra archive format
- New
--lr:embedsyntax- Allows to embed arbitrary resource-files (see docs)
- New
lraCLI tool- Allows to interact with archives inside compiled binaries (i.e.
lra -l main.exe)
- Allows to interact with archives inside compiled binaries (i.e.
- New options
--exportand--modnameto control exported modules when using--otype=shared - Added common runtime-base to reduce size of generated C code
- Treat
require-statements called withpcallas optional- New options
--optand--no-optto select or deselect optional modules
- New options
Fixes
- Respect order of multiple
--moduleand--excludeoptions in ascending priority (useful for making slim binaries) - Compile
--otype=luaat any optimization level
Documentation
- New Getting Started and Troubleshooting pages
Development
- Run tests for all installed lua versions
- New option
--perfto show timings log.assertnow prints stacktrace when--log-levelis debug- Update sfs API to
v0.2
Downloads
-
Source code (ZIP)
5 downloads
-
Source code (TAR.GZ)
1 download
-
v1.0.4 Stable
sewbacca released this
2025年07月11日 19:10:15 +02:00 | 194 commits to main since this release- Fixed: Potential linking errors when using
pkg-configto locate Lua library
Downloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
1 download
- Fixed: Potential linking errors when using
-
v1.0.3 Stable
sewbacca released this
2025年06月25日 16:05:17 +02:00 | 196 commits to main since this release- Fixed: Lua 5.1 support for otype plugins
- Fixed: Arch Linux does not package static libraries, lrc now accepts the custom liblua and libluajit packages, installed via luarocks
Downloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
1 download
-
v1.0.2 Stable
sewbacca released this
2025年06月02日 21:43:54 +02:00 | 199 commits to main since this release- Fixed:
msvcrtis added onclangwhen not on Windows - Added(experimental): experimental embed support for custom
--otypes
Downloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
1 download
- Fixed:
-
Bugfix Release Stable
leso-kn released this
2024年09月09日 23:14:25 +02:00 | 207 commits to main since this release- Several bugfixes
- Fixed: referential requires using
(...)..".submodule"were not resolved - Fixed: [scan] failed to parse xpcall statements calling require (LuaJIT / >Lua 5.1)
- Fixed: [shared] compiled library did not return module or receive arguments
- Fixed: [toolchain] stdout was cluttered with benign error messages (nm/ldd/pkg-config)
- Fixed: lrc used
-Ospeed, even when no optimization option was set - Fixed: extra compiler arguments were not passed
- Fixed: lrc crashed on certain index expressions
- Fixed: unreadable error message if
--log-levelwas invalid
- Fixed: referential requires using
- Decluttered
pathmap.Resolver:findModule - Added tests and code coverage with
luacov🎉
Downloads
-
Source code (ZIP)
32 downloads
-
Source code (TAR.GZ)
1 download
- Several bugfixes
-
First Release Stable
leso-kn released this
2024年04月01日 20:24:01 +02:00 | 233 commits to main since this release- Dependency Tracing and Bundling
- Packs lua programs/modules into a single bundle
- Links C modules into the target binary or
- Copies shared libraries (.so/.dll) into target directory
- Static and Dynamic Linking support
- Integration with LuaRocks
- Platform Support
- Linux
- Windows
- macOS was not tested
- Output Formats
- Lua Bundle (single .lua-file)
- Native Executable (e.g. ELF64 or .exe)
- [experimental] Shared Library (.dll/.so + .h for the use in C or
requirein lua)
- Lua Versions
- Supports 5.4, 5.3, 5.2, 5.1 and LuaJIT
- Automatically finds lua in system paths (and via
pkg-configif installed) - Allows multiple lua versions to be installed with flag to select a version
- Debugging: Compiled executables support lua debuggers (e.g. Local Lua Debugger)
- Optional Embedding of Bytecode
- Optimization Profiles (space / speed)
- Bash/ZSH Completion
- Log Levels
- Many Command-Line Options
Downloads
-
Source code (ZIP)
28 downloads
-
Source code (TAR.GZ)
1 download
- Dependency Tracing and Bundling