Giter Site home page Giter Site logo

lua-json5's People

Contributors

crax97 avatar joakker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lua-json5's Issues

`module 'json5' not found` on MacOS

Following on from the request in #1 #1 (comment)

Is providing a .so instead of a .dylib on MacOS feasible?

Right now the install instructions don't work on mac, the module isn't found, unless a specific workaround is added, renaming the json5.dylib to json5.so or adding the hardcoded path to the dylib, or adding a lua function that finds and replaces the existing .so entries with equivalent .dylib ones.
neovim/neovim#21749 (comment)

From that issue, it seems neovim (really, luajit) will not support loading dylib, and expect packages to always provide .so on linux/unix.

fails in m1

Hi @Joakker, awesome work. I tried to install it but it's seems that it might not be configured properly for m1.

log:

warning: unused manifest key: target.aarch64-apple-darwin.rustflags
warning: unused manifest key: target.x86_64-apple-darwin.rustflags
   Compiling lua-json5 v0.1.0 (/Users/tami/repos/redisgraph.lua/lua-json5)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-arch" "arm64" "-L" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.0.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.1.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.10.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.11.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.14.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.15.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.2.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.3.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.4.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.5.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.6.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.7.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.8.rcgu.o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.lua_json5.3t0kvc92-cgu.9.rcgu.o" "-o" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/liblua_json5.dylib" "-Wl,-exported_symbols_list,/var/folders/r3/jzqdvdtx7kv72pr448mwf3140000gn/T/rustcNhsexk/list" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/lua_json5.1twrr0eaxlamh87.rcgu.o" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-L" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps" "-L" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libpest-36c76b4f1e0eb7ee.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libucd_trie-2b023c2d920a0681.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libmlua-1b35d63ddace5c64.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libonce_cell-90f6bdd286677412.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libnum_traits-c2c7e89e2167b868.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libbstr-3551127eacd9ad89.rlib" "/Users/tami/repos/redisgraph.lua/lua-json5/target/release/deps/libmemchr-5fd6fe1f64825a53.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-45adb70961bd1d6d.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-2ab7e3be3fe881eb.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-b7ea6b731904a63e.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-6baf70e00600d37a.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-c55d00a931f53044.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-4d46d9ae01ff0dcd.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-edf0fec0639df65e.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-e81836a6102fbf86.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-5baaf317ea5154c9.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-2aa62e039c893e2a.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-1f6ba3f1df9f83f5.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-e1883bf629bf5f4b.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-da967b87bf618fa0.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-309925a076418223.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-4ce201db55ae746f.rlib" "/Users/tami/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-c5d8a864eb325d01.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv"
  = note: Undefined symbols for architecture arm64:
            "_lua_getinfo", referenced from:
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_getmetatable", referenced from:
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::pop_error::he1c74ec3f4a430e8 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::error_traceback::he1cce2fc5e6e265c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::init_error_registry::error_tostring::_$u7b$$u7b$closure$u7d$$u7d$::h6300296448b3c5ea (.llvm.6830171119093321097) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
            "_lua_settop", referenced from:
                mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                core::ptr::drop_in_place$LT$mlua..util..StackGuard$GT$::hb048123bbb70addc (.llvm.2498109315784210170) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                ...
            "_lua_tonumber", referenced from:
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_pushinteger", referenced from:
                mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
            "_lua_pushboolean", referenced from:
                mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::init_gc_metatable::h2f9b68f9ce422df8 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::init_gc_metatable::hb87712f39cd09685 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::init_error_registry::h3297bb5315b4583e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_xmove", referenced from:
                mlua::lua::Lua::create_string::haac7c49dd0e2043e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_string::hc35f8137440b3e7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_table::h83c5ca0baab79434 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::coerce_string::hc9b58a542134eb6a in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::push_ref::hc0f9787ca31231f5 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                ...
            "_lua_pushnumber", referenced from:
                mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
            "_lua_toboolean", referenced from:
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_tointeger", referenced from:
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
            "_lua_pcall", referenced from:
                mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::h59020665c6b01539 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::h8ef6987ba9742423 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_typename", referenced from:
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_luaL_ref", referenced from:
                mlua::util::protect_lua::do_call::hb8492038c2ce9eac (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_pushfstring", referenced from:
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_luaL_getmetafield", referenced from:
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_topointer", referenced from:
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_luaL_callmeta", referenced from:
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_pushvalue", referenced from:
                mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::push_ref::hc0f9787ca31231f5 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::callback_error_ext::_$u7b$$u7b$closure$u7d$$u7d$::h2907d8f0be4ee3bf in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::rawset_field::hf0b32c5f6251bb50 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_pushthread", referenced from:
                mlua::lua::Lua::init_from_ptr::haff70dc81dd70a17 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
            "_lua_getstack", referenced from:
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_touserdata", referenced from:
                mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::callback_error_ext::_$u7b$$u7b$closure$u7d$$u7d$::h2907d8f0be4ee3bf in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                ...
            "_lua_tolstring", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::util::protect_lua::do_call::h13d001063586d535 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::hd604ed5b158d330d (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::he52d66948e7312e5 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_luaL_error", referenced from:
                mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::protect_lua::do_call::h0d91debb00881cf9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::h7d91d9fd2ad879d1 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::h991043c5df8b5eea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_isstring", referenced from:
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_next", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_type", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::push_gc_userdata::haaa348a4b17465ea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::get_gc_metatable::h06ff11ecdbe3768d in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_remove", referenced from:
                mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_concat", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
            "_lua_rawseti", referenced from:
                mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
            "_lua_pushnil", referenced from:
                core::ptr::drop_in_place$LT$mlua..value..Value$GT$::ha5159d2120f65993 (.llvm.12512851066089662595) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                core::ptr::drop_in_place$LT$mlua..string..String$GT$::hc811e0625f3b0d7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                mlua::conversion::_$LT$impl$u20$mlua..value..FromLua$u20$for$u20$alloc..string..String$GT$::from_lua::hae3a87f7c07d2dde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                core::ptr::drop_in_place$LT$mlua..table..Table$GT$::h55299a009025a0e7 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                core::ptr::drop_in_place$LT$mlua..value..Value$GT$::ha5159d2120f65993 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                _$LT$mlua..lua..Lua$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6b859b2a0f10b1e4 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                ...
            "_lua_newuserdata", referenced from:
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::protect_lua::do_call::h22b712d963047f11 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::he1f96a5c4d0ab658 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::hfd9e97192fa83657 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h4f31df5360175da6 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h8b893a937fc56f72 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h935b8f18354b32ee in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_settable", referenced from:
                mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
            "_lua_rawequal", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::pop_value::hed154435fee350a9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::pop_error::he1c74ec3f4a430e8 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::error_traceback::he1cce2fc5e6e265c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::init_error_registry::error_tostring::_$u7b$$u7b$closure$u7d$$u7d$::h6300296448b3c5ea (.llvm.6830171119093321097) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
            "_lua_rawget", referenced from:
                mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::push_gc_userdata::haaa348a4b17465ea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::get_gc_metatable::h06ff11ecdbe3768d in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::init_error_registry::h3297bb5315b4583e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                std::panic::catch_unwind::h2ecf10884444b80f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                std::panic::catch_unwind::h70fe369ae185b689 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                std::panic::catch_unwind::h8b8b5a22cbfc1c57 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.11.rcgu.o)
                ...
            "_lua_replace", referenced from:
                core::ptr::drop_in_place$LT$mlua..value..Value$GT$::ha5159d2120f65993 (.llvm.12512851066089662595) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                core::ptr::drop_in_place$LT$mlua..string..String$GT$::hc811e0625f3b0d7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                mlua::conversion::_$LT$impl$u20$mlua..value..FromLua$u20$for$u20$alloc..string..String$GT$::from_lua::hae3a87f7c07d2dde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.15.rcgu.o)
                mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                core::ptr::drop_in_place$LT$mlua..table..Table$GT$::h55299a009025a0e7 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                ...
            "_lua_isnumber", referenced from:
                mlua::util::to_string::hfd3fd27f0aa21291 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_checkstack", referenced from:
                mlua::ffi::compat53::lua_rotate::hf2aeb4eec7464a77 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::lua::Lua::init_from_ptr::haff70dc81dd70a17 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_string::haac7c49dd0e2043e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_string::hc35f8137440b3e7e in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::create_table::h83c5ca0baab79434 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::coerce_string::hc9b58a542134eb6a in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                ...
            "_lua_rawset", referenced from:
                mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::h0d91debb00881cf9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::h7d91d9fd2ad879d1 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::h991043c5df8b5eea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::hd1f4b689ec630ea1 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::hd604ed5b158d330d (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_newthread", referenced from:
                mlua::util::protect_lua::do_call::hb8492038c2ce9eac (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_pushlightuserdata", referenced from:
                mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::lua::Lua::init_from_ptr::haff70dc81dd70a17 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::push_value::h12ea7363192814ab in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::lua::Lua::make_from_ptr::hac41ac6dd253488f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_insert", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::util::protect_lua::do_call::h0d91debb00881cf9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::h7d91d9fd2ad879d1 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::h991043c5df8b5eea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::hd1f4b689ec630ea1 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_setmetatable", referenced from:
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::push_gc_userdata::haaa348a4b17465ea in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::push_gc_userdata::hbaf107b72480bcc2 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h4f31df5360175da6 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h8b893a937fc56f72 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h935b8f18354b32ee in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::hef898ac06955ac84 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_pushcclosure", referenced from:
                mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h0c38d1862d21f5e9 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::h59020665c6b01539 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::h8ef6987ba9742423 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_close", referenced from:
                _$LT$mlua..lua..Lua$u20$as$u20$core..ops..drop..Drop$GT$::drop::h6b859b2a0f10b1e4 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
            "_lua_error", referenced from:
                mlua::lua::Lua::entrypoint1::h5ee905912fe8c0d7 in lua_json5.lua_json5.3t0kvc92-cgu.9.rcgu.o
                mlua::lua::Lua::create_callback::call_callback::h612bcbfc751ccf81 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.1.rcgu.o)
                mlua::util::userdata_destructor::h4f31df5360175da6 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h8b893a937fc56f72 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::h935b8f18354b32ee in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::userdata_destructor::hef898ac06955ac84 in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::callback_error::hd966341192d4279f in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                ...
            "_lua_pushlstring", referenced from:
                mlua::ffi::compat53::compat53_findfield::hf375fb6a598b085c in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_traceback::h90be0729920cedde in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::ffi::compat53::luaL_tolstring::ha2288953a0c7a63b in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.9.rcgu.o)
                mlua::util::protect_lua::do_call::h13d001063586d535 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
                mlua::util::protect_lua::do_call::hd604ed5b158d330d (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_createtable", referenced from:
                mlua::util::protect_lua::do_call::hd3c9cc4894525588 (.llvm.7155392919903713787) in libmlua-1b35d63ddace5c64.rlib(mlua-1b35d63ddace5c64.mlua.hu3xbu9e-cgu.0.rcgu.o)
            "_lua_gettop", referenced from:
                mlua::function::Function::call::h606532ac55b38185 in lua_json5.lua_json5.3t0kvc92-cgu.12.rcgu.o
                mlua::util::protect_lua::h0f399fad0a2a1a2c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h28c04143d037f58c in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::h85ecf0dbf909150b in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::h99cc2578af8f69e7 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::h9ccac3f29abdae88 (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                mlua::util::protect_lua::do_call::he913182b53dd601f (.llvm.5526512904049487491) in lua_json5.lua_json5.3t0kvc92-cgu.13.rcgu.o
                ...
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: aborting due to previous error

error: could not compile `lua-json5`

To learn more, run the command again with --verbose.

Possible install script issue

Hey @Joakker, thank you for this package! I'm trying to setup nvim-dap to use configs from .vscode/launch.json and this makes it so I don't have to worry about comments or trailing commas!

I ran into a module 'json5' not found error after installing through packer and adding ./lua/?.so to package.cpath and managed to track it down to the install script.

The OSTYPE environment variable isn't recognized on some distros (like Ubuntu) when using #!/bin/sh. In this case, it meant the json5.so file wasn't actually being copied to the lua folder like it should be. Changing that to #!/bin/bash fixes the issue and should be fine on distros that ship with bash (which is most of them) and MacOS (as far as I can tell from searching, I don't have a Mac to test on). Didn't make a PR in case you wanna handle it differently.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.