]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #7803 - alexcrichton:less-overflow, r=Eh2406
authorbors <bors@rust-lang.org>
Wed, 15 Jan 2020 15:34:14 +0000 (15:34 +0000)
committerbors <bors@rust-lang.org>
Wed, 15 Jan 2020 15:34:14 +0000 (15:34 +0000)
Don't assume iowait always increases on Linux

According to [documentation] looks like this value is documented as it
can decrease, so let's handle that without overflowing.

[documentation]: http://man7.org/linux/man-pages/man5/proc.5.html


Trivial merge