Closed Nivek92 closed 3 years ago
Seems related: https://github.com/rust-lang/rust/issues/73573
More recent winit
versions had definitely moved to MaybeUninit
, so bumping winit
would seem to be the obvious way. However, since winit
moved to a new event loop architecture, I fear that kiss3d
will need some API redesign in order to get it to work and it may be non-trivial.
I am getting this on stable (1.48). For example, this happens when running cargo run --example cube
. I don't get this on 1.46.
Hey, I got an error today.
thread 'main' panicked at 'attempted to leave type `platform::platform::x11::util::input::PointerState` uninitialized, which is invalid', /home/nivek/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/mem/mod.rs:658:9
Here is the backtrace
let mut window = Window::new("Simulation");
starts it all.This error happens on the nightly toolchain. On the stable it no issue.
Sorry if this is not the correct place to share this because it's caused by the toolchain and not by the library itself but I thought maybe it's important so we can adjust this library to work on nightly as well and when the nightly might become stable.