src/os/redox/mod.rs fails to build for target_os = \"redox\":
- Line 14:
use std::{cmp, std::ffi::c_void}; — invalid path (std::std::ffi).
- Lines 5 + 9:
Renderer imported twice, once from the nonexistent crate::os::redox::orbclient path.
- Line 265:
process_events iterates self.window.events() (mutable borrow) while calling self.map_key_to_minifb inside the loop — E0502.
- Methods lib.rs delegates to are missing:
update_with_buffer_stride, update_rate, set_rate, get_delta_time, topmost, set_background_color, get_position.
Also, once it builds: EventOption::Scroll overwrites mouse_pos with scroll deltas and never sets mouse_scroll (lines 288-290), and set_icon/get_mouse_down(Back/Forward) are unimplemented!() panics on legal API calls (lines 104-106, 162-163).
src/os/redox/mod.rs fails to build for
target_os = \"redox\":use std::{cmp, std::ffi::c_void};— invalid path (std::std::ffi).Rendererimported twice, once from the nonexistentcrate::os::redox::orbclientpath.process_eventsiteratesself.window.events()(mutable borrow) while callingself.map_key_to_minifbinside the loop — E0502.update_with_buffer_stride,update_rate,set_rate,get_delta_time,topmost,set_background_color,get_position.Also, once it builds:
EventOption::Scrolloverwritesmouse_poswith scroll deltas and never setsmouse_scroll(lines 288-290), andset_icon/get_mouse_down(Back/Forward)areunimplemented!()panics on legal API calls (lines 104-106, 162-163).