-
-
Save abesto/9dc5ba23e8b46da0f3d5b9db9f46ff53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use mlua::prelude::*; | |
fn repro() { | |
let lua = Lua::new(); | |
tokio::spawn(async move { | |
let n = lua | |
.load("return 42") | |
.eval_async::<LuaInteger>() | |
.await | |
.unwrap(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment