Fixes #31. The last comments outside the Rust sources that carried a dead name or a private record number: - `OptionsFrame.xml` and `SpellBookAdapters.xml` drop the `BENILLA_ALLOW_OWN_UI=1` marker, which no code or test reads. - `third_party/lua-src/Cargo.toml` says why the fork exists without its record number, in plain case. Comment text only: every file is identical with its comments stripped. The Rust test comments #31 also listed were rewritten with their crates' comment passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
33 lines
1.5 KiB
TOML
33 lines
1.5 KiB
TOML
# A fork of the `lua-src` crate (MIT, github.com/mlua-rs/lua-src-rs), pinned to the version mlua
|
|
# 0.11 asks for, carrying one deliberate change to the Lua 5.1.5 sources it compiles.
|
|
#
|
|
# Why it exists: the 1.12 addon corpus is written for Lua 5.0 and uses the iterator-less
|
|
# generic-for (`for k, v in someTable do`) in 183 of 218 addons. Lua 5.1 deleted the opcode that
|
|
# made it work, so on stock 5.1 it raises `attempt to call a table value`, the first error for 60 of
|
|
# 218 addons. No Lua-side shim can restore an opcode. The fork stays on 5.1.5 and restores that one
|
|
# opcode's 5.0 behaviour, which Lua shipped as "for compatibility only", so every other 5.1 fix and
|
|
# mlua's whole surface stay intact.
|
|
#
|
|
# What changes: `BENILLA.md` lists every hunk against upstream's `lua-5.1.5/` tree
|
|
# (eight, in three files) and the one command that verifies the sources against the registry copy.
|
|
#
|
|
# The crate's own `src/lib.rs` is upstream's, with Lua 5.2 to 5.5 stripped from the `Version` enum
|
|
# and their trees deleted, so asking for another version is a compile error here rather than a
|
|
# missing directory at build time.
|
|
[package]
|
|
name = "lua-src"
|
|
version = "550.0.0"
|
|
authors = ["Aleksandr Orlenko <zxteam@protonmail.com>"]
|
|
edition = "2024"
|
|
repository = "https://github.com/mlua-rs/lua-src-rs"
|
|
license = "MIT"
|
|
description = """
|
|
Sources of Lua 5.1 and logic to build them — benilla's fork, see the header and BENILLA.md.
|
|
"""
|
|
|
|
[features]
|
|
ucid = [] # accept UniCode IDentifiers (upstream's; inert here, it only ever gated 5.4/5.5)
|
|
|
|
[dependencies]
|
|
cc = "1.2"
|