From 87b4896ae0948d6c2ec0285aa2cdb3781561d5a4 Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Wed, 11 Nov 2026 12:11:42 +0530 Subject: Expose ipairs in the config environment. Let's the user specify repeated chunks succinctly. --- mkelf.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkelf.lua') diff --git a/mkelf.lua b/mkelf.lua index d350a8d..5613a41 100644 --- a/mkelf.lua +++ b/mkelf.lua @@ -76,6 +76,8 @@ end local function setup_env(state) return setmetatable({}, { __index = { + ipairs = ipairs, + Class = ec.Class, Endian = ec.Endian, Osabi = ec.Osabi, -- cgit v1.3