diff --git a/Cargo.toml b/Cargo.toml index 5873c9c..fffd0e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ with async/await features and support of writing native Lua modules in Rust. """ [package.metadata.docs.rs] -features = ["lua54", "vendored", "async", "send", "serde", "macros"] +features = ["lua55", "vendored", "async", "send", "serde", "macros"] rustdoc-args = ["--cfg", "docsrs"] [workspace] diff --git a/docs/release_notes/v0.9.md b/docs/release_notes/v0.9.md index cbc2d29..7f3a032 100644 --- a/docs/release_notes/v0.9.md +++ b/docs/release_notes/v0.9.md @@ -336,7 +336,7 @@ In previous mlua versions, building a Lua module for Windows requires having Lua In contrast, on Linux and macOS, modules can be built without any external dependencies using the `-undefined=dynamic_lookup` linker flag. With Rust 1.71+ it's now possible to lift this restriction for Windows as well. You can build modules normally and they will be linked with -`lua54.dll`/`lua53.dll`/`lua52.dll`/`lua51.dll` depending on the enabled Lua version. +`lua5x.dll` depending on the enabled Lua version. You still need to have the dll although, linked to application where the module will be loaded. diff --git a/examples/module/Cargo.toml b/examples/module/Cargo.toml index e15c4af..588a4fe 100644 --- a/examples/module/Cargo.toml +++ b/examples/module/Cargo.toml @@ -10,6 +10,7 @@ crate-type = ["cdylib"] [workspace] [features] +lua55 = ["mlua/lua55"] lua54 = ["mlua/lua54"] lua53 = ["mlua/lua53"] lua52 = ["mlua/lua52"]