Skip to content
Snippets Groups Projects
Commit 2fa1bbac authored by nia's avatar nia Committed by Artyom Pavlov
Browse files

Switch to using the arandom sysctl on NetBSD (same as FreeBSD). (#115)

Rename it from freebsd.rs to sysctl_arandom.rs.

NetBSD has been patching rustc for some time to use the FreeBSD
implementation because every single invocation of the compiler
may drain from the entropy pool and cause the next to block.

This can massively inflate build times for rust software, or cause
it to fail entirely, especially in VMs (for example, our Xen package
building cluster).
parent 6b4925a7
No related branches found
No related tags found
No related merge requests found
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