Commit graph

3 commits

Author SHA1 Message Date
Vyacheslav Egorov
aafea36235
Fixed the backwards compatible benchmark support library require ()
Previous benchmark require fix wasn't actually working correctly for the
old style require (or running in Lua).
2023-12-04 12:48:31 -08:00
Vyacheslav Egorov
ce1800746b
Fix 'require' in benchmarks to work with new relative system ()
Old style require is now called with `pcall` to support comparing
against Lua.
New style require is now a third option.

Edit: this will be a temporary solution until the 'paths' support in
.luaurc is fixed.
2023-12-02 14:20:54 -08:00
Arseny Kapoulkine
d01addc625 Sync to upstream/release/501 ()
Co-authored-by: Rodactor <rodactor@roblox.com>
2021-11-01 14:52:34 -07:00