Alex Orlenko
497d84828a
Add CI to build dev docs
2026-02-03 22:40:29 +00:00
Alex Orlenko
7fb7e8685f
Update spelling check
2026-01-23 15:37:18 +00:00
Alex Orlenko
4c5465229e
Update CI
2026-01-14 21:44:25 +00:00
Alex Orlenko
9b24bb2319
Add Lua 5.5 to CI
2026-01-14 16:01:04 +00:00
Alex Orlenko
d2a8670bef
(CI) Update wasi/wasmtime
2025-11-22 13:58:15 +00:00
Alex Orlenko
e9de70a030
(CI) Move from x86_64-apple-darwin to aarch64-apple-darwin
2025-11-22 13:57:04 +00:00
Alex Crichton
6e353d6c9f
Build/test wasm32-wasip2 in CI ( #649 )
...
This is a follow-up from mlua-rs/lua-src-rs#13 which verifies/tests that
mlua/lua all work when compiled for a WASI target. While this doesn't
have formal documentation yet it also codifies in CI configuration how
to build for WASI and get tests passing (notably C compiler
configuration and some misc Rust flags).
This moves some `dev-dependencies` that don't compile for
`wasm32-wasip2` to a different section of the manifest. This
additionally annotates panicking tests with `#[cfg(not(panic =
"abort"))]` to skip those tests on WASI.
This does not test either the `send` or `async` feature at this time.
Testing `send` requires threads which WASI does not yet support, and
testing `async` requires more support in Tokio which is not currently
there yet.
2025-10-04 09:52:23 +01:00
Alex Orlenko
7bc72be7d3
Use serde feature flag instead of serialize.
...
The old one is still supported.
2025-06-12 13:35:22 +01:00
Alex Orlenko
c5c1fe3b85
Fix tests
2025-05-14 00:19:29 +01:00
Alex Orlenko
dda344bfc6
Rename _typos.toml to typos.toml
2025-05-06 22:42:19 +01:00
Alex Orlenko
560a30ca02
Support new Luau require system
...
This commit introduces the `Require` trait that be used to change `require` behaviour.
By default mlua implements behaviour same as `ReplRequirer` in the original Luau.
Unfortunately binary Luau modules are no longer supported by the new system.
2025-04-25 14:19:41 +01:00
Alex Orlenko
69011a89d2
Revert "Add initial pluto support"
...
This reverts commit 0ed11e4134 .
2025-03-14 22:59:06 +00:00
Alex Orlenko
0ed11e4134
Add initial pluto support
...
Pluto is a superset of Lua 5.4 with a focus on general-purpose programming.
`pluto` feature also enables `lua54` feature since they are compatible and share the same API.
2025-03-14 11:38:07 +00:00
Joel Natividad
a89800b949
Typos config and ci ( #523 )
...
* typos configuration file
* typos CI
2025-02-05 19:02:48 +00:00
Alex Orlenko
c2eab173c5
Add userdata-wrappers feature
...
This feature allow to opt into `impl UserData` for `Rc<T>`/`Arc<T>`/`Rc<RefCell<T>>`/`Arc<Mutex<T>>` where `T: UserData`
Close #470
2024-11-03 11:48:47 +00:00
Alex Orlenko
2331995e28
Update coverage ci options
2024-10-18 21:36:49 +01:00
Alex Orlenko
084a85c3d8
Update error tests
2024-10-16 23:57:48 +01:00
Alex Orlenko
8bb2b444ab
Run tests with forced memory limit checks
2024-09-22 23:20:18 +01:00
Alex Orlenko
ece66c46bf
Remove unstable feature flag
2024-08-26 23:51:58 +01:00
Alex Orlenko
cd3f45f31f
Rust nightly rustfmt
2024-07-31 13:42:37 +01:00
Alex Orlenko
313117095c
Remove parking_lot feature flag
2024-07-31 13:42:35 +01:00
Alex Orlenko
9ed0d90746
Run tests for wasm32-unknown-emscripten
2024-01-06 12:12:56 +00:00
Alex Orlenko
44f5688c32
Include luau to ci module tests
2023-11-16 17:54:40 +00:00
Alex Orlenko
7f0de5790a
Update github CI actions/checkout to v4
2023-09-13 12:03:50 +01:00
Alex Orlenko
e1c075fa51
Use giraffate/clippy-action
2023-07-21 10:34:29 +01:00
Alex Orlenko
ead6be4a52
Make module and vendored features mutually exclusive
2023-07-20 23:23:03 +01:00
Alex Orlenko
483e6be207
Support vendored module mode for windows (raw-dylib linking)
...
This is requires Rust 1.71+
2023-07-20 00:43:57 +01:00
Alex Orlenko
1f0e81c9a1
Add a dedicated type for Luau vector.
...
Refactor existing implementation and add 4-dimensional vectors support.
2023-06-20 13:30:42 +01:00
Alex Orlenko
22e748557c
Add new feature flag luau-jit to enable experimental Luau codegen backend
2023-05-24 23:13:12 +01:00
Alex Orlenko
21b834decc
Update coverage calculation (exclude mlua-sys)
2023-04-26 22:22:11 +01:00
Alex Orlenko
4daa7de997
Various improvements for owned types, including:
...
- tests
- shortcuts for `OwnedFunction` and `OwnedAnyUserData`
2023-04-26 15:40:48 +01:00
Alex Orlenko
2d6a0fdf9c
Check for reference leak detection only in mlua integratin tests.
...
This is not necessary an error and should not be enforced by default.
Fixes #268 .
2023-04-23 10:56:26 +01:00
Alex Orlenko
15dc0e9f23
Move ffi module into mlua-sys crate
2023-04-12 23:23:34 +01:00
Alex Orlenko
0c53e09e30
Update tarpaulin settings
2023-04-12 01:03:33 +01:00
Alex Orlenko
22c6e9a7e7
Enable unstable feature flag in CI
2022-12-22 16:30:14 +00:00
Alex Orlenko
81a9998559
Update CI
2022-09-13 00:09:03 +01:00
Alex Orlenko
1807fa789c
Don't require Lua sources for modules in build system
2022-05-07 22:16:54 +01:00
Alex Orlenko
a62636fde0
More parking_lot ci tests
2022-04-17 17:29:51 +01:00
Sondre Aasemoen
a5ce0c1409
Add parking_lot dependency and feature
2022-04-16 19:45:21 +02:00
Alex Orlenko
c322e028e2
Initial Luau support
2022-03-20 20:30:20 +00:00
Alex Orlenko
e809640b7e
Update CI (switch to ubuntu-20.04 and add luajit52)
2021-11-27 13:44:30 +00:00
Alex Orlenko
9e3d495f91
Calculate coverage for Lua 5.4 instead of Lua 5.3
2021-10-12 12:10:04 +01:00
Alex Orlenko
63c4861520
Create FUNDING.yml
2021-08-22 16:22:20 +01:00
Alex Orlenko
97bd288f56
Add CI tests with enabled address sanitizer
...
Don't use release mode in tests
Try to use cache in CI
2021-07-13 16:17:29 +01:00
Alex Orlenko
ef7d123f80
Exclude mlua_derive from coverage report
2021-05-06 00:41:20 +01:00
Alex Orlenko
3e03f4201c
Add chunk! macro support
2021-05-05 22:13:51 +01:00
Alex Orlenko
0625991a48
Update github action to fix modules test on Windows (lua53 -> lua54)
2021-04-27 10:38:20 +01:00
Alex Orlenko
14169eadb1
Include nightly to github CI tests
2021-04-27 00:29:37 +01:00
Alex Orlenko
0d404ce4c3
Don't fail CI on coverage
2021-04-16 22:43:21 +01:00
Alex Orlenko
e26cec5db9
Drop 'feature(link_args)' (removed from nightly). Don't run tests for LuaJIT 2.0.5
2021-04-16 22:27:28 +01:00