diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-10-22 23:11:17 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-10-23 11:50:45 +1100 |
| commit | 6e7bbdacb9bf04c1f5bf2c3aad487122d8377b7f (patch) | |
| tree | 99ea846bbbe2031015ecd3d847761b63df503d14 /src/rt/sync/rust_thread.cpp | |
| parent | b8932c6304599bddec6ac6d916db72a5c4034ada (diff) | |
| download | rust-6e7bbdacb9bf04c1f5bf2c3aad487122d8377b7f.tar.gz rust-6e7bbdacb9bf04c1f5bf2c3aad487122d8377b7f.zip | |
std::rand: seed ISAAC with no transmutes.
Slice transmutes are now (and, really, always were) dangerous, so we avoid them and do the (only?) non-(undefined behaviour in C) pointer cast: casting to *u8.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
