You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get errors like the following when running on Ubuntu 18.04 on the master branch. Does any ideas what the cause could be? error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut i8` in the current scope --> util_linux/mdev.rs:582:17 | 582 | s.wrapping_offset_from(val) as libc::c_long as libc::c_int, | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` | = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
The text was updated successfully, but these errors were encountered:
I get errors like the following when running on Ubuntu 18.04 on the master branch. Does any ideas what the cause could be?
error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut i8` in the current scope --> util_linux/mdev.rs:582:17 | 582 | s.wrapping_offset_from(val) as libc::c_long as libc::c_int, | ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset` | = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
The text was updated successfully, but these errors were encountered: