about summary refs log tree commit diff
path: root/src/libstd/cast.rs
AgeCommit message (Collapse)AuthorLines
2013-08-12fix build with the new snapshot compilerDaniel Micay-10/+0
2013-08-04Remove trailing null from stringsErick Tryzelaar-0/+10
2013-07-26Consolidate raw representations of rust valuesAlex Crichton-2/+2
This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern).
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-0/+8
2013-07-10Add a `mut_split()` method for dividing one `&mut [T]` into twoNiko Matsakis-1/+0
2013-06-21Remove all #[cfg(stage0)]-protected codeJames Miller-15/+2
New snapshot means this can all go. Also removes places that have comments that say they are workarounds for stage0 errors.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-14/+14
2013-06-15std: Remove doc references to reinterpret_castBrian Anderson-5/+2
2013-05-30Require documentation by default for libstdAlex Crichton-0/+2
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-27fix casts on 32-bitDaniel Micay-1/+1
2013-05-26inline bump_box_refcountDaniel Micay-0/+1
2013-05-26make transmute_copy use memcpy, and inline itDaniel Micay-0/+21
2013-05-26use uninit for cast::transmute_copyDaniel Micay-1/+1
2013-05-23cleanup warnings from libstdErick Tryzelaar-1/+0
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+160
This only changes the directory names; it does not change the "real" metadata names.