- 25 2月, 2015 40 次提交
-
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Turn `unsafe_no_drop_flag` back into a gated-feature. Fix #22173
-
由 Manish Goregaokar 提交于
Currently we have a `set_mode` mutator, so this just adds the pairing of a `mode` accessor to read the value. Closes #22738
-
由 Manish Goregaokar 提交于
If the filename for a path is `None` then we know that the creation of the parent directory created the whole path so there's no need to retry the call to `create_dir`. Closes #22737
-
由 Manish Goregaokar 提交于
Specifically, the following actions were takend: * The `copy_memory` and `copy_nonoverlapping_memory` functions to drop the `_memory` suffix (as it's implied by the functionality). Both functions are now marked as `#[stable]`. * The `set_memory` function was renamed to `write_bytes` and is now stable. * The `zero_memory` function is now deprecated in favor of `write_bytes` directly. * The `Unique` pointer type is now behind its own feature gate called `unique` to facilitate future stabilization. [breaking-change]
-
由 Manish Goregaokar 提交于
This commit moves `std::env` away from the `std::old_io` error type as well as the `std::old_path` module. Methods returning an error now return `io::Error` and methods consuming or returning paths use `std::path` instead of `std::old_path`. This commit does not yet mark these APIs as `#[stable]`. This commit also migrates `std::old_io::TempDir` to `std::fs::TempDir` with essentially the exact same API. This type was added to interoperate with the new path API and has its own `tempdir` feature. Finally, this commit reverts the deprecation of `std::os` APIs returning the old path API types. This deprecation can come back once the entire `std::old_path` module is deprecated. [breaking-change]
-
由 Manish Goregaokar 提交于
This commit removes many unnecessary `unsafe impl` blocks as well as pushing the needed implementations to the lowest level possible. I noticed that the bounds for `RwLock` are a little off when reviewing #22574 and wanted to ensure that we had our story straight on these implementations.
-
由 Manish Goregaokar 提交于
r? @Gankro
-
由 Manish Goregaokar 提交于
The recent commit on liblibc for nacl break the compilation for OpenBSD (and Bitrig too, I think). The problem is `ino_t` come from another block too now. This patch remove the extra declaration. ``` .../src/liblibc/lib.rs:98:9: 98:37 error: a type named `ino_t` has already been imported in this module [E0251] .../src/liblibc/lib.rs:98 pub use types::os::arch::posix01::*; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to previous error ``` @dhuseby do you have this problem too ? and if yes, does this patch correct it ?
-
由 Manish Goregaokar 提交于
Two changes: 1. Make traits with assoc types invariant w/r/t their inputs. 2. Fully normalize parameter environments, including any region variables (which were being overlooked). The former supports the latter, but also just seems like a reasonably good idea. Fixes #21750 cc @edwardw r? @pnkfelix
-
由 Manish Goregaokar 提交于
According to #22650 and bb0bbf63 the link changed. I think this should fix the link on http://doc.rust-lang.org/#faqs
-
由 Manish Goregaokar 提交于
Rather than stabilize on the current API, we're going to punt this concern to crates.io, to allow for faster iteration. [breaking-change]
-
由 Manish Goregaokar 提交于
r? @steveklabnik
-
由 Sébastien Marie 提交于
-
由 Felix S. Klock II 提交于
Fix #22173
-
由 Keegan McAllister 提交于
Fixes #22424.
-
由 Keegan McAllister 提交于
-
由 Keegan McAllister 提交于
Fixes #22423.
-
由 Keegan McAllister 提交于
-
由 Alex Crichton 提交于
This commit moves `std::env` away from the `std::old_io` error type as well as the `std::old_path` module. Methods returning an error now return `io::Error` and methods consuming or returning paths use `std::path` instead of `std::old_path`. This commit does not yet mark these APIs as `#[stable]`. This commit also migrates `std::old_io::TempDir` to `std::fs::TempDir` with essentially the exact same API. This type was added to interoperate with the new path API and has its own `tempdir` feature. Finally, this commit reverts the deprecation of `std::os` APIs returning the old path API types. This deprecation can come back once the entire `std::old_path` module is deprecated. [breaking-change]
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Tobias Bucher 提交于
-
由 Tobias Bucher 提交于
-
由 Raphael Nestler 提交于
According to #22650 and bb0bbf63 the link changed
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
Specifically, the following actions were taken: * The `copy_memory` and `copy_nonoverlapping_memory` functions to drop the `_memory` suffix (as it's implied by the functionality). Both functions are now marked as `#[stable]`. * The `set_memory` function was renamed to `write_bytes` and is now stable. * The `zero_memory` function is now deprecated in favor of `write_bytes` directly. * The `Unique` pointer type is now behind its own feature gate called `unique` to facilitate future stabilization. * All type parameters now are `T: ?Sized` wherever possible and new clauses were added to the `offset` functions to require that the type is sized. [breaking-change]
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Apply borrowck to fns that appear in const declarations. Fixes #22382. r? @EddyB
-
由 Manish Goregaokar 提交于
I tried to follow [the style guide][1] as much as possible. This is just from some random readings of the code, so no guarantees on completeness, even in the edited files. [1]: http://aturon.github.io/style/README.html
-
由 Manish Goregaokar 提交于
Fixes #22342
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
"body": null,
-
由 Manish Goregaokar 提交于
This commit has already been merged in #21774, but i think it has been accidently overriden by #22584 and #22480. r? @alexcrichton
-