Skip to content

v2.1.1

Latest
Compare
Choose a tag to compare
@ToxicFrog ToxicFrog released this 09 May 11:40
· 11 commits to master since this release

No API changes.

Lua 5.3 support has been improved: LUA_COMPAT_MATLIB is no longer required, although if you have it, vstruct will use the faster builtin math.frexp for floating-point operations rather than a slower Lua-only version.

Fixes

  • Several of the rockspecs had incorrect version bounds. These have now been fixed.

New features

  • when invoking the random test generator, you can now pass multiple test kinds on the command line, e.g. lua test.lua NROF_TESTS=8192 read write to run both read and write tests.
  • passing DISABLE_FREXP as the first argument to test.lua will cause it to disable the builtin math.frexp for all tests, and run them with the lua-only version