]> git.lizzy.rs Git - rust.git/commit
Auto merge of #21488 - aturon:os-str, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 24 Jan 2015 19:39:52 +0000 (19:39 +0000)
committerbors <bors@rust-lang.org>
Sat, 24 Jan 2015 19:39:52 +0000 (19:39 +0000)
commitbb7cc4eb26e87ec4cb2acdc5bc3a7d25b9c817be
tree04338cf8bf55a8510cd6ab0771698e320beb13e8
parent76fbb3583174ca8856b4e149929839888f503e6b
parentc5369ebc7f4791c4e291951751b8964052c7a523
Auto merge of #21488 - aturon:os-str, r=alexcrichton

Per [RFC 517](https://github.com/rust-lang/rfcs/pull/575/), this commit introduces platform-native strings. The API is essentially as described in the RFC.

The WTF-8 implementation is adapted from @SimonSapin's [implementation](https://github.com/SimonSapin/rust-wtf8). To make this work, some encodign and decoding functionality in `libcore` is now exported in a "raw" fashion reusable for WTF-8. These exports are *not* reexported in `std`, nor are they stable.