about summary refs log tree commit diff
path: root/src/libstd/sys/windows/backtrace.rs
AgeCommit message (Collapse)AuthorLines
2015-01-21Test fixes and rebase conflictsAlex Crichton-0/+1
2015-01-21rollup merge of #21444: petrochenkov/nullAlex Crichton-5/+5
Conflicts: src/libstd/sync/mpsc/select.rs
2015-01-19remove unnecessary parentheses from range notationJorge Aparicio-1/+1
2015-01-19Replace `0 as *const/mut T` with `ptr::null/null_mut()`we-5/+5
2015-01-07use slicing sugarJorge Aparicio-1/+1
2015-01-07falloutNick Cameron-1/+2
2015-01-05std: Redesign c_str and c_vecAlex Crichton-9/+9
This commit is an implementation of [RFC 494][rfc] which removes the entire `std::c_vec` module and redesigns the `std::c_str` module as `std::ffi`. [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0494-c_str-and-c_vec-stability.md The interface of the new `CString` is outlined in the linked RFC, the primary changes being: * The `ToCStr` trait is gone, meaning the `with_c_str` and `to_c_str` methods are now gone. These two methods are replaced with a `CString::from_slice` method. * The `CString` type is now just a wrapper around `Vec<u8>` with a static guarantee that there is a trailing nul byte with no internal nul bytes. This means that `CString` now implements `Deref<Target = [c_char]>`, which is where it gains most of its methods from. A few helper methods are added to acquire a slice of `u8` instead of `c_char`, as well as including a slice with the trailing nul byte if necessary. * All usage of non-owned `CString` values is now done via two functions inside of `std::ffi`, called `c_str_to_bytes` and `c_str_to_bytes_with_nul`. These functions are now the one method used to convert a `*const c_char` to a Rust slice of `u8`. Many more details, including newly deprecated methods, can be found linked in the RFC. This is a: [breaking-change] Closes #20444
2015-01-02More falloutNick Cameron-3/+3
2015-01-02Fallout - change array syntax to use `;`Nick Cameron-9/+9
2014-12-21Fallout of std::str stabilizationAlex Crichton-1/+1
2014-12-18Rebasing fixes.Aaron Turon-2/+2
2014-12-18Revise std::thread API to join by defaultAaron Turon-2/+2
This commit is part of a series that introduces a `std::thread` API to replace `std::task`. In the new API, `spawn` returns a `JoinGuard`, which by default will join the spawned thread when dropped. It can also be used to join explicitly at any time, returning the thread's result. Alternatively, the spawned thread can be explicitly detached (so no join takes place). As part of this change, Rust processes now terminate when the main thread exits, even if other detached threads are still running, moving Rust closer to standard threading models. This new behavior may break code that was relying on the previously implicit join-all. In addition to the above, the new thread API also offers some built-in support for building blocking abstractions in user space; see the module doc for details. Closes #18000 [breaking-change]
2014-12-18Remove rt::{mutex, exclusive}Aaron Turon-2/+2
2014-12-18libs: merge librustrt into libstdAaron Turon-0/+371
This commit merges the `rustrt` crate into `std`, undoing part of the facade. This merger continues the paring down of the runtime system. Code relying on the public API of `rustrt` will break; some of this API is now available through `std::rt`, but is likely to change and/or be removed very soon. [breaking-change]