ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
449 stars 29 forks source link

Loading UTF8 library loads String instead #103

Closed LapisHusky closed 1 month ago

LapisHusky commented 6 months ago

Should be an easy fix, running lua.global.loadLibrary(wasmoon.LuaLibraries.UTF8) puts the String library into the global table utf8 instead of the UTF8 library https://github.com/ceifa/wasmoon/blob/main/src/global.ts#L112