]> git.lizzy.rs Git - rust.git/commit
Remove the dependence of std::io::test on rand.
authorHuon Wilson <dbau.pp+github@gmail.com>
Sat, 1 Mar 2014 13:36:33 +0000 (00:36 +1100)
committerHuon Wilson <dbau.pp+github@gmail.com>
Wed, 12 Mar 2014 00:31:43 +0000 (11:31 +1100)
commit15e289846219cc3ad8b0225712bf2309f2c02439
treed0b3785fdaa3169718c807cb975031e1813ac367
parent6fa4bbeed425ae99d15322fbaa05d1abeae6547f
Remove the dependence of std::io::test on rand.

This replaces it with a manual "task rng" using XorShift and a crappy
seeding mechanism. Theoretically good enough for the purposes
though (unique for tests).
src/libstd/io/test.rs