Skip to content
Snippets Groups Projects
Commit 505575f8 authored by bors's avatar bors
Browse files

Auto merge of #288 - lemonrock:sysinfo, r=alexcrichton

Adding sysinfo() and sysinfo struct for Linux and Android.

Sadly, the sysinfo struct varies slightly between Musl and Glibc / Bionic.

This means that users need to be careful when using the uptime, and should
always cast it to a signed value. Why uptime can be signed is beyond me...
parents 1f870b80 4d37980f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment