mirror of
https://github.com/bytedream/litbwraw.git
synced 2025-12-12 23:12:07 +01:00
add example crates
This commit is contained in:
5
example-binary/src/main.rs
Normal file
5
example-binary/src/main.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
fn main() {
|
||||
let lua = mlua::Lua::new();
|
||||
|
||||
lua.load(r#"print("Hello from WebAssembly Lua!")"#).exec().unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user