]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Test] static_embed: pack fixture floats via rspamd_util.pack 6118/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 2 Jul 2026 08:37:33 +0000 (09:37 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 2 Jul 2026 08:37:33 +0000 (09:37 +0100)
commit87812514ccf5e6d8ec7cf000677983d6e5c2c745
tree6d6c1faef00bcc96ae664642ee02c0db6da38c27
parent655a436ca8601c4719fcf7b899e790901ed8d8dd
[Test] static_embed: pack fixture floats via rspamd_util.pack

math.frexp was removed in Lua 5.4, so the hand-rolled float32 packer
broke the test run on non-LuaJIT builds; rspamd_util.pack provides
string.pack semantics on every supported Lua version.
test/lua/unit/static_embed.lua