rust/src/libstd/sys
bors 9cd994cdc1 Auto merge of #45896 - malbarbo:use-libc-const, r=alexcrichton
Use getrandom syscall for all Linux and Android targets.

I suppose we can use it in all Linux and Android targets. In function `is_getrandom_available` is checked if the syscall is available (getrandom syscall was add in version 3.17 of Linux kernel), if the syscall is not available `fill_bytes` fallback to reading from `/dev/urandom`.

Update libc to include getrandom related constants.
2017-11-14 13:46:19 +00:00
..
redox Rollup merge of #45893 - redox-os:futex_timeout, r=alexcrichton 2017-11-13 17:09:42 +08:00
unix Auto merge of #45896 - malbarbo:use-libc-const, r=alexcrichton 2017-11-14 13:46:19 +00:00
windows std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
mod.rs Exposed all platform-specific documentation. 2017-08-10 13:43:59 +08:00