3
22
Fork
You've already forked lrc
0
  • v1.2.1-2 Stable

    leso-kn released this 2026年07月12日 14:16:29 +02:00 | 0 commits to main since this release

    Fixes

    • Fix installation under Lua 5.5
      • Bump compat53 to 0.15
    Downloads
  • v1.2.1 cad59a074f

    v1.2.1 Stable

    leso-kn released this 2026年06月05日 12:19:56 +02:00 | 3 commits to main since this release

    Fixes

    • Allow to reload targetrules dynamically
    Downloads
  • v1.2.0 140f41d2d1

    v1.2.0 Stable

    sewbacca released this 2026年06月02日 21:52:34 +02:00 | 7 commits to main since this release

    Features

    • Added support for cross-compilation
    • Added Teal support
    • Compiler Extensions
      • Custom otype support
      • Custom toolchain support
      • Custom source language support
    • New configuration API: LRocket Spec
    • Added new log-level detail
      • Shows many details such as line numbers of unresolved require and --lr:embed statements
      • Use log-level debug for I/O-grade debugging
    • Lots and lots of internal refactorings

    Fixes

    • Fixed: Lua 5.1 compatibility for --optimize
    • Fixed(Linux): Correctly display archive path in package.searchers error messages

    lra

    • The LRocket Archive format now supports file types (type field)
      • Currently file and link
    • LRocket binaries now support custom runtime search paths

    Documentation

    • Added dark theme

    Dev

    • Use lrocket as a library (experimental)
    • Make LRocket a provider for luarocks-cross
    • Print warnings on ABI mismatch for custom otypes, toolchains and source languages
    Downloads
  • v1.1.0 d1231d5efa

    v1.1.0 Stable

    sewbacca released this 2025年07月11日 22:43:02 +02:00 | 117 commits to main since this release

    As of this release, --otype=shared is stable for native Lua modules (.dll/.so)

    Features

    • Dawn of the lra archive format
    • New --lr:embed syntax
      • Allows to embed arbitrary resource-files (see docs)
    • New lra CLI tool
      • Allows to interact with archives inside compiled binaries (i.e. lra -l main.exe)
    • New options --export and --modname to control exported modules when using --otype=shared
    • Added common runtime-base to reduce size of generated C code
    • Treat require-statements called with pcall as optional
      • New options --opt and --no-opt to select or deselect optional modules

    Fixes

    • Respect order of multiple --module and --exclude options in ascending priority (useful for making slim binaries)
    • Compile --otype=lua at any optimization level

    Documentation

    Development

    • Run tests for all installed lua versions
    • New option --perf to show timings
    • log.assert now prints stacktrace when --log-level is debug
    • Update sfs API to v0.2
    Downloads
  • v1.0.4 dea151e801

    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-config to locate Lua library
    Downloads
  • v1.0.3 f9bc0e5f60

    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
  • v1.0.2 2ae02c65b0

    v1.0.2 Stable

    sewbacca released this 2025年06月02日 21:43:54 +02:00 | 199 commits to main since this release

    • Fixed: msvcrt is added on clang when not on Windows
    • Added(experimental): experimental embed support for custom --otypes
    Downloads
  • v1.0.1 cac7f790c4

    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-level was invalid
    • Decluttered pathmap.Resolver:findModule
    • Added tests and code coverage with luacov 🎉
    Downloads
  • v1.0.0 a6acd71491

    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 require in lua)
    • Lua Versions
      • Supports 5.4, 5.3, 5.2, 5.1 and LuaJIT
      • Automatically finds lua in system paths (and via pkg-config if 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