File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ # mlua FAQ
2
+
3
+ This file is for general questions that don't fit into the README or crate docs.
4
+
5
+ ## Loading a C module fails with error ` undefined symbol: lua_xxx ` . How to fix?
6
+
7
+ Add the following rustflags to your [ .cargo/config] ( http://doc.crates.io/config.html ) in order to properly export Lua symbols:
8
+
9
+ ``` toml
10
+ [target .x86_64-unknown-linux-gnu ]
11
+ rustflags = [" -C" , " link-args=-rdynamic" ]
12
+
13
+ [target .x86_64-apple-darwin ]
14
+ rustflags = [" -C" , " link-args=-rdynamic" ]
15
+ ```
16
+
17
+ ## I want to add support for a Lua VM fork to mlua. Do you accept pull requests?
18
+
19
+ Adding new feature flag to support a Lua VM fork is a major step that requires huge effort to maintain it.
20
+ Regular updates, testing, checking compatibility, etc.
21
+ That's why I don't plan to support new Lua VM forks or other languages in mlua.
Original file line number Diff line number Diff line change 11
11
[ codecov.io ] : https://codecov.io/gh/khvzak/mlua
12
12
[ MSRV ] : https://img.shields.io/badge/rust-1.56+-brightgreen.svg?&logo=rust
13
13
14
- [ Guided Tour] ( examples/guided_tour.rs )
14
+ [ Guided Tour] | [ Benchmarks] | [ FAQ]
15
+
16
+ [ Guided Tour ] : examples/guided_tour.rs
17
+ [ Benchmarks ] : https://github.com/khvzak/script-bench-rs
18
+ [ FAQ ] : FAQ.md
15
19
16
20
` mlua ` is bindings to [ Lua] ( https://www.lua.org ) programming language for Rust with a goal to provide
17
21
_ safe_ (as far as it's possible), high level, easy to use, practical and flexible API.
You can’t perform that action at this time.
0 commit comments