From e706ae4fcb66a1a64cb41ae49ad144be68129191 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Mon, 24 Feb 2025 19:03:33 +0000 Subject: [PATCH] Remove Roblox from references to Luau Closes #537 --- CHANGELOG.md | 4 ++-- Cargo.toml | 2 +- README.md | 6 +++--- mlua-sys/Cargo.toml | 2 +- mlua-sys/README.md | 4 ++-- mlua-sys/src/lib.rs | 2 +- mlua-sys/src/luau/compat.rs | 2 +- src/state/util.rs | 2 +- src/util/error.rs | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df129889..d0366875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -304,7 +304,7 @@ Other: ## v0.8.0 Changes since 0.7.4 -- Roblox Luau support +- Luau support - Removed C glue - Added async support to `__index` and `__newindex` metamethods - Added `Function::info()` to get information about functions (#149). @@ -354,7 +354,7 @@ Breaking changes: ## v0.8.0-beta.1 -- Roblox Luau support +- Luau support - Refactored ffi module. C glue is no longer required - Added async support to `__index` and `__newindex` metamethods diff --git a/Cargo.toml b/Cargo.toml index fb432cf8..04818714 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["lua", "luajit", "luau", "async", "scripting"] categories = ["api-bindings", "asynchronous"] license = "MIT" description = """ -High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau +High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Luau with async/await features and support of writing native Lua modules in Rust. """ diff --git a/README.md b/README.md index 21818286..747f4821 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ `mlua` is bindings to [Lua](https://www.lua.org) programming language for Rust with a goal to provide _safe_ (as far as it's possible), high level, easy to use, practical and flexible API. -Started as `rlua` fork, `mlua` supports Lua 5.4, 5.3, 5.2, 5.1 (including LuaJIT) and [Roblox Luau] and allows to write native Lua modules in Rust as well as use Lua in a standalone mode. +Started as `rlua` fork, `mlua` supports Lua 5.4, 5.3, 5.2, 5.1 (including LuaJIT) and [Luau] and allows to write native Lua modules in Rust as well as use Lua in a standalone mode. `mlua` tested on Windows/macOS/Linux including module mode in [GitHub Actions] on `x86_64` platform and cross-compilation to `aarch64` (other targets are also supported). WebAssembly (WASM) is supported through `wasm32-unknown-emscripten` target for all Lua versions excluding JIT. [GitHub Actions]: https://github.com/khvzak/mlua/actions -[Roblox Luau]: https://luau.org +[Luau]: https://luau.org ## Usage @@ -66,7 +66,7 @@ Below is a list of the available feature flags. By default `mlua` does not enabl [5.2]: https://www.lua.org/manual/5.2/manual.html [5.1]: https://www.lua.org/manual/5.1/manual.html [LuaJIT]: https://luajit.org/ -[Luau]: https://github.com/Roblox/luau +[Luau]: https://github.com/luau-lang/luau [lua-src]: https://github.com/khvzak/lua-src-rs [luajit-src]: https://github.com/khvzak/luajit-src-rs [tokio]: https://github.com/tokio-rs/tokio diff --git a/mlua-sys/Cargo.toml b/mlua-sys/Cargo.toml index f4171a15..26736289 100644 --- a/mlua-sys/Cargo.toml +++ b/mlua-sys/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT" links = "lua" build = "build/main.rs" description = """ -Low level (FFI) bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau +Low level (FFI) bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Luau """ [package.metadata.docs.rs] diff --git a/mlua-sys/README.md b/mlua-sys/README.md index d0de6252..927ebbd6 100644 --- a/mlua-sys/README.md +++ b/mlua-sys/README.md @@ -1,8 +1,8 @@ # mlua-sys -Low level (FFI) bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox [Luau]. +Low level (FFI) bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and [Luau]. Intended to be consumed by the [mlua] crate. -[Luau]: https://github.com/Roblox/luau +[Luau]: https://github.com/luau-lang/luau [mlua]: https://crates.io/crates/mlua diff --git a/mlua-sys/src/lib.rs b/mlua-sys/src/lib.rs index 629dfd88..6bbb595c 100644 --- a/mlua-sys/src/lib.rs +++ b/mlua-sys/src/lib.rs @@ -1,4 +1,4 @@ -//! Low level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau. +//! Low level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Luau. #![allow(non_camel_case_types, non_snake_case, dead_code)] #![allow(clippy::missing_safety_doc)] diff --git a/mlua-sys/src/luau/compat.rs b/mlua-sys/src/luau/compat.rs index b2f33c70..885c1d07 100644 --- a/mlua-sys/src/luau/compat.rs +++ b/mlua-sys/src/luau/compat.rs @@ -1,4 +1,4 @@ -//! MLua compatibility layer for Roblox Luau. +//! MLua compatibility layer for Luau. //! //! Based on github.com/keplerproject/lua-compat-5.3 diff --git a/src/state/util.rs b/src/state/util.rs index 9dbf3e85..c0dc015b 100644 --- a/src/state/util.rs +++ b/src/state/util.rs @@ -51,7 +51,7 @@ where } // We need to check stack for Luau in case when callback is called from interrupt - // See https://github.com/Roblox/luau/issues/446 and mlua #142 and #153 + // See https://github.com/luau-lang/luau/issues/446 and mlua #142 and #153 #[cfg(feature = "luau")] ffi::lua_rawcheckstack(state, 2); // Place it to the beginning of the stack diff --git a/src/util/error.rs b/src/util/error.rs index eb9ee1f5..3bf08c6c 100644 --- a/src/util/error.rs +++ b/src/util/error.rs @@ -262,7 +262,7 @@ where pub(crate) unsafe extern "C-unwind" fn error_traceback(state: *mut ffi::lua_State) -> c_int { // Luau calls error handler for memory allocation errors, skip it - // See https://github.com/Roblox/luau/issues/880 + // See https://github.com/luau-lang/luau/issues/880 #[cfg(feature = "luau")] if MemoryState::limit_reached(state) { return 0;