Re:Rust in Linux kernel is just a beginning
by j-krieger on Tuesday October 25, 2022 @10:30AM
(#33330932)
That is because you're using a normal add instead of `checked_add`. There are discussions about forcing the compiler to only allow `checked_x` and `wrapping_x` operations for any mathematical operation within your code.
[ Parent
| on HN ]
There are no comments on this comment yet.