zlacker

[parent] [thread] 0 comments
1. veber-+(OP)[view] [source] 2022-10-03 09:04:41
> "integer math is allowed to panic on overflow"

This is configurable, by default with optimizations on math overflow doesn't panic in rust, it wraps around.

Obviously the kernel won't enable panics here unless in debug mode.

[go to top]