about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-17 02:37:43 -0700
committerbors <bors@rust-lang.org>2013-07-17 02:37:43 -0700
commitc032dddf6f78590b56034c332a23441cadd86330 (patch)
treef776d870cc947a8d39162b362d57ed5be6768aca /src/rt/rust_kernel.cpp
parenta93244dbf6a5872a536e8b2727a5ebb94475ebed (diff)
parent948a62401ef717eb484c2215713291749f0f35ed (diff)
downloadrust-c032dddf6f78590b56034c332a23441cadd86330.tar.gz
rust-c032dddf6f78590b56034c332a23441cadd86330.zip
auto merge of #7841 : alexcrichton/rust/tls++, r=huonw
Simulates borrow checks for '@mut' boxes, or at least it's the same idea. This allows you to store owned values, but mutate them while they're owned by TLS.

This should remove the necessity for a `pop`/`set` pattern to mutate data structures in TLS.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions