An issue exists in the os_str_bytes crate prior to 2.0.0 for Rust. It has false expectations about char::from_u32_unchecked behavior.
os str bytes project os str bytes