Insulating layer?
Insulating layer?
Posted Oct 18, 2024 14:27 UTC (Fri) by taladar (subscriber, #68407)In reply to: Insulating layer? by laarmen
Parent article: On Rust in enterprise kernels
Unsafe blocks in Rust basically mean that you get to use unsafe operations but you are also responsible for upholding safety guarantees in your code inside the block. Methods like assume_init() are meant to be used after you have verified that the value is initialized, otherwise your code is unsound.