Closed light4 closed 1 year ago
This code will panic:
use display_info::DisplayInfo; fn main() { let info = DisplayInfo::all().unwrap(); dbg!(info); }
thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7ffcdcba06d3'
This code will panic:
thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x4 but is 0x7ffcdcba06d3'