News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Advanced Paging by steveklabnik on Monday January 28, 2019 @04:54PM (#19021464)
If you know your types are Send and Sync, then you should implement Send and Sync for them. That's how you "tell rustc to just shut up about this."
Re:Writing an OS in Rust: Advanced Paging by zaarn on Monday January 28, 2019 @05:55PM (#19021893)
They aren't Send and Sync, ie not multithreading safe, they are however, reentrant safe, which is all I need. rustc complaints and I don't want to implement traits on types that don't need them and don't adhere to the contract of the trait.