about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-06-20 15:13:22 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-07-08 13:53:44 -0400
commitba13482dfabe4d0022f1fc2375b500cce53a05ce (patch)
tree83ea14cb1ba75f72b9de1aed3e3dfe1a16a76f06 /src/rt/rust_kernel.cpp
parent1670a8cfb13fd384d9fd4ca47034cef99118c7a7 (diff)
downloadrust-ba13482dfabe4d0022f1fc2375b500cce53a05ce.tar.gz
rust-ba13482dfabe4d0022f1fc2375b500cce53a05ce.zip
update ptr intrinsics and rewrite vec routines to be more correct.
In particular, it is not valid to go around passing uninitialized or zero'd
memory as arguments. Rust should generally be free to assume that the arguments
it gets are valid input values, but the output of intrinsics::uninit() and
intrinsics::init() are not (e.g., an @T is just null, leading to an error
if we should try to increment the ref count).
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions