I've been playing around with Rust bindings for wlroots. Help from people familiar with Rust would be welcome!
@emersion Playing with rust and pointer arithmetic, what a brave man.
Be careful about offset_of. It will UB, should $field contain any kind of smart pointer, because field access automatically dereferences variables to the struct type.
rip C arrows
This looks great otherwise!!! I'm sure "Beyond Memory Safety with Types (2016)" from @InsanityBit@twitter.com will come in handy!
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!
@hubert Ah, I see, thanks!