Rise Chen
Rise Chen
`TokioRT` is an alias of `tokio::runtime::Runtime`. I changed it back
It is called by user. So, I should rewrite `io`module by async function?
Do you have any way to set timeout?
How about setting `O_NONBLOCK` flag, when `fopen`? @khvzak
yes, `serde::Serialize` and `serde::Deserialize` is not [Object Safety](https://doc.rust-lang.org/reference/items/traits.html#object-safety)
```rust pub struct CompatSerialize(T); impl for CompatSerialize { fn to_lua(self, lua: &'lua Lua) -> Result); impl> FromLua { fn from_lua(lua_value: Value Result{ let deserializer = Deserializer::new(lua_value); match T::deserialize(deserializer){ Ok(data)=>Ok(CompatDeserialize( data,PhantomData)),...
```rust fn fun LuaResult { ... } lua.create_function(fun) ``` `StructA` and `StructB` had impl `Serialize` and `Deserialize`. I think it can auto impl `ToLua` and `FromLua`.
I hope convert Struct to `LuaTable` rather than `UserData`
> ``` root@f0fca0e971de:~/rc3.1# objdump -T /lib/x86_64-linux-gnu/libc.so.6 | grep memfd root@f0fca0e971de:~/rc3.1# ``` It is empty. You can test it in docker image. https://hub.docker.com/_/ubuntu
The problem is caused by this commit https://github.com/nix-rust/nix/commit/cf15c2bb5505231bc3128ef61522336e315e2169