-
A/B Street's cost functions for [driving/biking](https://github.com/a-b-street/abstreet/blob/2bbc43b5292efd1646a78d2c7ccd06912768c52c/map_model/src/pathfind/driving.rs#L222) and [walking](https://gith…
-
Hello,
I'm [mlua](http://crates.io/crates/mlua) maintainer, the lua bindings library you probably already know about.
I started it ~5 years ago to simply add module module support to rlua, but the…
-
### Description
Lots of higher level coders won’t be interested in modding unless we support a higher level scripting language, like Lua.
> Scripts don’t even need to be able to run in productio…
-
As copied from https://github.com/amethyst/rlua/issues/172#issuecomment-616975763
`rlua` needs to give up on trying to patch out the UB in PUC-Rio Lua itself, and simply admit this fact by making …
-
in this example
```lua
local x = setmetatable({},{__call = function()print(\"nice\")end})
```
x can not be used to call a function defined in rust that accepts a Function, despite normal lua being…
-
The two function (`func1` and `func2`) is defined as below :
```ruby
def func1
lua = Rufus::Lua::State.new
lua.function :ex do
raise RuntimeError
end
lua.function :cx do |x|
x…
-
Hi Developers,
I will be fast and straightforward.
This is my rust code :
```rust
use rlua::{Lua, Result, Value};
fn main() -> Result {
// Create a new Lua context
let lua = Lua::…
-
As copied from https://github.com/amethyst/rlua/issues/172#issuecomment-616975763
`rlua` needs some ability to use async functions as coroutines and vice versa, but it also needs a way to in genera…
-
I'd like to use lua_getupvalue, lua_setupvalue and lua_pushcclosure to create a closure (other than function which has 0 upvalue), is it possible to use ffi directly outside the crate?
-
As copied from https://github.com/amethyst/rlua/issues/172#issuecomment-616975763
`rlua::Lua` needs a compile-time switch to either require `Send` or to not require `Send`. Not-requiring `Send` se…