Re:Baby Steps: Slowly Porting Musl to Rust
by CUViper on Sunday June 12, 2016 @02:40PM
(#11889576)
OK, another option is to make it an explicit infinite "loop{...}" which only exits by returning. The "0.." is effectively infinite anyway, because it will overflow freely in release mode. (But surely you'll hit an invalid memory page before that happens.)
[ Parent
| on HN ]
Re:Baby Steps: Slowly Porting Musl to Rust
by dikaiosune on Sunday June 12, 2016 @02:44PM
(#11889592)
You're right, I think this version is a bit clearer: