Red Artist
Red Artist
I don't think you can compile rust + C bindings to wasm. there's an ABI issue and fixing it breaks backwards compatibility apparently. more info https://github.com/rustwasm/wasm-bindgen/pull/2209
glfw + wasm-emscripten works with a small patch. deployed version -> https://coderedart.github.io/egui_glow_glfw_emscripten/ code -> https://github.com/coderedart/egui_glow_glfw_emscripten/ the patch to make glfw-rs compile on emscripten target -> https://github.com/PistonDevelopers/glfw-rs/pull/531 you can then compile...
its not implemented in glfw yet. There's like 5 issues on glfw's github all confused about this https://github.com/glfw/glfw/issues/2297 mouse passthrough is a `3.4` version feature which is still in progress....
`rfd` has two backends for dialogs on linux. 1. `GTK` which adds the gtk dependency. need it in CI pipeline at build time and on end users system (they probably...
You are right. Copy pasting from https://docs.rs/rfd/latest/rfd/#xdg-desktop-portal-backend > The XDG Desktop Portal has no API for message dialogs, so the MessageDialog and AsyncMessageDialog structs will not build with this backend....
The same input is parsed correctly by the `hexponent` crate, so that might help with debugging this. ```rust fn main() { assert_eq!( 0.1171875f64, hexponent::FloatLiteral::from_str("0x0.1E") .expect("hexponent failed to parse") .convert() .inner()...
for some reason, i cannot implement the TypeBody for types with lifetimes. rust complains that it needs a `'static` lifetime.
> However, are you sure you actually need a non static in this case? Type body is only used to generate the .d.tl file and documentation and doesn't even require...
I think you can just keep a Arc so that the rdev thread can check for it in a loop. and when you are exiting the main thread, you can...
> I tried to use select! macro in futures to receive external stop signal from other thread. > That is might a similar way you advise, I guess, but it...