Expose luautf8 module through runtime
This removes the runtime dependency on the external `luautf8` C library.
This commit is contained in:
1 parent
ae9c59d132
commit
c6d5241b98
4 files changed
+52
No files matched your search
@@ -124,6 +124,9 @@ impl PathOfBuilding {
|
||||
// register API functions
|
||||
api::register_globals(&lua)?;
|
||||
|
||||
// register Rust port of `luautf8` as module
|
||||
lua.register_module("lua-utf8", luautf8::create_module(&lua)?)?;
|
||||
|
||||
Ok(lua)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user