about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-10-22 23:11:17 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-10-23 11:50:45 +1100
commit6e7bbdacb9bf04c1f5bf2c3aad487122d8377b7f (patch)
tree99ea846bbbe2031015ecd3d847761b63df503d14 /src/rt/sync/rust_thread.cpp
parentb8932c6304599bddec6ac6d916db72a5c4034ada (diff)
downloadrust-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