aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-01-05 06:32:23 -0800
committerGitHub <noreply@github.com>2017-01-05 06:32:23 -0800
commit36ddf763f66b1b971db07649ff5c69b2e9fd5f91 (patch)
tree768fbf1c2c10ae1584e4ee4fe3b301b2970b0b7e /components/script/dom/bindings/codegen/CodegenRust.py
parent65497b493ae011d4787f5ca9a7e178d3e17fde8a (diff)
parente3a8e3b7063fd6f421beffdf12942ffc083ef71b (diff)
downloadservo-36ddf763f66b1b971db07649ff5c69b2e9fd5f91.tar.gz
servo-36ddf763f66b1b971db07649ff5c69b2e9fd5f91.zip
Auto merge of #14351 - asajeffrey:servo-rand-share-fds, r=emilio
An in-memory RNG that shares its file descriptor. <!-- Please describe your changes on the following line: --> This PR implements an in-memory random number generator that only uses an OS RNG for (re)seeding. The OS RNG is shared, so there's only one file descriptor for `/dev/urandom` being used. The PR also implements a tidy check that we don't accidentally introduce an RNG. Rather annoyingly, there are a lot of transitive dependencies on `rand`, notably hash maps in `std`. This PR makes it possible to use uuids for identifiers such as pipeline and frame ids. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because it's fixing a resource issue <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14351) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
0 files changed, 0 insertions, 0 deletions