Closed Cogitri closed 4 years ago
However, this fails a clippy lint:
error: casting from `*mut vte_sys::VtePty` to a more-strictly-aligned pointer (`*mut gobject_sys::GObject`) (1 < 8 bytes)
--> /home/rasmus/Projects/vte-rs/src/auto/pty.rs:132:48
|
132 | gobject_sys::g_object_get_property(self.as_ptr() as *mut gobject_sys::GObject, b"flags\0".as_ptr() as *const _, value.to_glib_none_mut().0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[deny(clippy::cast_ptr_alignment)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment
And before merging this the PR for vte-sys-rs needs to be merged (and we need to update its submodule)
With this vte-rs works! :)