]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12887 : huonw/rust/danger-guide, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 15 Mar 2014 03:01:32 +0000 (20:01 -0700)
committerbors <bors@rust-lang.org>
Sat, 15 Mar 2014 03:01:32 +0000 (20:01 -0700)
docs: begin a "low-level & unsafe code" guide.

This aims to cover the basics of writing safe unsafe code. At the moment
it is just designed to be a better place for the `asm!()` docs than the
detailed release notes wiki page, and I took the time to write up some
other things.

More examples are needed, especially of things that can subtly go wrong;
and vast areas of `unsafe`-ty aren't covered, e.g. `static mut`s and
thread-safety in general.


Trivial merge