about summary refs log tree commit diff
path: root/src/libstd/sys/unix/args.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-16 16:04:12 +0000
committerbors <bors@rust-lang.org>2019-04-16 16:04:12 +0000
commit70f130954d6fd36fe3e77f4b5b33e5af50489288 (patch)
treeafcb656d306e236040f00690222892cc627d0992 /src/libstd/sys/unix/args.rs
parent3b27b4f592e0654602d8b81cc471204abc2d563e (diff)
parentf1da89a66705a34936a6dbfcd617d8adc76fefd0 (diff)
downloadrust-70f130954d6fd36fe3e77f4b5b33e5af50489288.tar.gz
rust-70f130954d6fd36fe3e77f4b5b33e5af50489288.zip
Auto merge of #59879 - ebarnard:patch-1, r=alexcrichton
Add a comment explaining why SecRandomCopyBytes is not used on MacOS

SecRandomCopyBytes is [available since MacOS 10.7](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) which is the minimum supported version and which was suggested in https://github.com/rust-lang/rust/pull/58901#issuecomment-470188115 is the earliest version currently in use.

This matches the behaviour of other platforms which have a random number generator syscall available.
Diffstat (limited to 'src/libstd/sys/unix/args.rs')
0 files changed, 0 insertions, 0 deletions