NixOS/nix

Use portable C++ Pseudorandom number generator

Open

#10,541 opened on Apr 17, 2024

View on GitHub
 (10 comments) (0 reactions) (0 assignees)C++ (1,293 forks)batch import
good first issueportabilitywindows

Repository metrics

Stars
 (9,803 stars)
PR merge metrics
 (Avg merge 7d 11h) (83 merged PRs in 30d)

Description

Avoid calls to rand / srand / random / srandom and other things which are not portable to Windows

Originally posted by @edolstra in https://github.com/NixOS/nix/pull/8901#discussion_r1568529190

Contributor guide