-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 16 pull requests #40616
Rollup of 16 pull requests #40616
Commits on Mar 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c7db40f - Browse repository at this point
Copy the full SHA c7db40fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50aee36 - Browse repository at this point
Copy the full SHA 50aee36View commit details
Commits on Mar 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 460bf55 - Browse repository at this point
Copy the full SHA 460bf55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c1cc6 - Browse repository at this point
Copy the full SHA 68c1cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 839c286 - Browse repository at this point
Copy the full SHA 839c286View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85e02bd - Browse repository at this point
Copy the full SHA 85e02bdView commit details -
travis: Ensure cargo links libcurl statically
We don't want a dynamic dependency in the library that we ship, so link it statically by configuring curl-sys's build script to not pick up the system version via pkg-config.
Configuration menu - View commit details
-
Copy full SHA for 5fab9bf - Browse repository at this point
Copy the full SHA 5fab9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d9387 - Browse repository at this point
Copy the full SHA 61d9387View commit details
Commits on Mar 15, 2017
-
make shift builtins panic-free with new unchecked_sh* intrinsics
Also update some 128 bit builtins to be panic-free without relying on the const evaluator.
Configuration menu - View commit details
-
Copy full SHA for cc23d17 - Browse repository at this point
Copy the full SHA cc23d17View commit details -
Rename TryFrom's associated type and implement str::parse using TryFrom.
Per discussion on the tracking issue, naming `TryFrom`'s associated type `Error` is generally more consistent with similar traits in the Rust ecosystem, and what people seem to assume it should be called. It also helps disambiguate from `Result::Err`, the most common "Err". See rust-lang#33417 (comment). TryFrom<&str> and FromStr are equivalent, so have the latter provide the former to ensure that. Using TryFrom in the implementation of `str::parse` means types that implement either trait can use it. When we're ready to stabilize `TryFrom`, we should update `FromStr` to suggest implementing `TryFrom<&str>` instead for new code. See rust-lang#33417 (comment) and rust-lang#33417 (comment). Refs rust-lang#33417.
Configuration menu - View commit details
-
Copy full SHA for 2561dcd - Browse repository at this point
Copy the full SHA 2561dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a457d67 - Browse repository at this point
Copy the full SHA a457d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4961f6c - Browse repository at this point
Copy the full SHA 4961f6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for befeb04 - Browse repository at this point
Copy the full SHA befeb04View commit details
Commits on Mar 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9b89274 - Browse repository at this point
Copy the full SHA 9b89274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 910532e - Browse repository at this point
Copy the full SHA 910532eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 284ece3 - Browse repository at this point
Copy the full SHA 284ece3View commit details
Commits on Mar 17, 2017
-
documented order of conversion between u32 an ipv4addr
z1mvader committedMar 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 50cede0 - Browse repository at this point
Copy the full SHA 50cede0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c96491f - Browse repository at this point
Copy the full SHA c96491fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5798817 - Browse repository at this point
Copy the full SHA 5798817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3435c60 - Browse repository at this point
Copy the full SHA 3435c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 963d4df - Browse repository at this point
Copy the full SHA 963d4dfView commit details -
This seems to match other uses of "be accessed" in the document.
Configuration menu - View commit details
-
Copy full SHA for ec8ecf4 - Browse repository at this point
Copy the full SHA ec8ecf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a5665 - Browse repository at this point
Copy the full SHA 33a5665View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b7c4e - Browse repository at this point
Copy the full SHA 65b7c4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d38ea8b - Browse repository at this point
Copy the full SHA d38ea8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9511fe6 - Browse repository at this point
Copy the full SHA 9511fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10510ae - Browse repository at this point
Copy the full SHA 10510aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37b38a2 - Browse repository at this point
Copy the full SHA 37b38a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48890d4 - Browse repository at this point
Copy the full SHA 48890d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f4a1b - Browse repository at this point
Copy the full SHA a8f4a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1241a88 - Browse repository at this point
Copy the full SHA 1241a88View commit details -
Rollup merge of rust-lang#40281 - jimmycuadra:try-from-from-str, r=at…
…uron Rename TryFrom's associated type and implement str::parse using TryFrom. Per discussion on the tracking issue, naming `TryFrom`'s associated type `Error` is generally more consistent with similar traits in the Rust ecosystem, and what people seem to assume it should be called. It also helps disambiguate from `Result::Err`, the most common "Err". See rust-lang#33417 (comment). `TryFrom<&str>` and `FromStr` are equivalent, so have the latter provide the former to ensure that. Using `TryFrom` in the implementation of `str::parse` means types that implement either trait can use it. When we're ready to stabilize `TryFrom`, we should update `FromStr` to suggest implementing `TryFrom<&str>` instead for new code. See rust-lang#33417 (comment) and rust-lang#33417 (comment). Refs rust-lang#33417.
Configuration menu - View commit details
-
Copy full SHA for daf4904 - Browse repository at this point
Copy the full SHA daf4904View commit details -
Rollup merge of rust-lang#40317 - malbarbo:update-libc, r=alexcrichton
Update libc to 0.2.21 Update to include android aarch64 and x86 improvements.
Configuration menu - View commit details
-
Copy full SHA for ef47812 - Browse repository at this point
Copy the full SHA ef47812View commit details -
Rollup merge of rust-lang#40346 - jseyfried:path_and_tokenstream_attr…
…, r=nrc `TokenStream`-based attributes, paths in attribute and derive macro invocations This PR - refactors `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`. - supports macro invocation paths for attribute procedural macros. - e.g. `#[::foo::attr_macro] struct S;`, `#[cfg_attr(all(), foo::attr_macro)] struct S;` - supports macro invocation paths for derive procedural macros. - e.g. `#[derive(foo::Bar, super::Baz)] struct S;` - supports arbitrary tokens as arguments to attribute procedural macros. - e.g. `#[foo::attr_macro arbitrary + tokens] struct S;` - supports using arbitrary tokens in "inert attributes" with derive procedural macros. - e.g. `#[derive(Foo)] struct S(#[inert arbitrary + tokens] i32);` where `#[proc_macro_derive(Foo, attributes(inert))]` r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 553de9c - Browse repository at this point
Copy the full SHA 553de9cView commit details -
Rollup merge of rust-lang#40398 - eddyb:struct-hint, r=nikomatsakis
Propagate expected type hints through struct literals. Partial fix for rust-lang#31260 to maximize backwards-compatibility, i.e. the hint is provided but not coerced to. The added test works because `{...; x}` with a hint of `T` coerces `x` to `T`, and the reasoning why that is slightly different has to do with DSTs: `&Struct { tail: [x] }: &Struct<[T]>` has a hint of `[T]` for `[x]`, but the inferred type should be `[T; 1]` to succeed later, so `[x]` shouldn't be *forced* to be `[T]`. *However*, implementing that complete behavior in a backwards-compatible way may be non-trivial, and has not yet been fully investigated, while this PR fixes rust-lang#40355 and can be backported. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 171979b - Browse repository at this point
Copy the full SHA 171979bView commit details -
Rollup merge of rust-lang#40409 - mbrubeck:calloc, r=sfackler
Specialize Vec::from_elem to use calloc Fixes rust-lang#38723. This specializes the implementation for `u8` only, but it could be extended to other zeroable types if desired. I haven't tested this extensively, but I did verify that it gives the expected performance boost for large `vec![0; n]` allocations with both alloc_system and jemalloc, on Linux. (I have not tested or even built the Windows code.)
Configuration menu - View commit details
-
Copy full SHA for c7a1d01 - Browse repository at this point
Copy the full SHA c7a1d01View commit details -
Rollup merge of rust-lang#40482 - wagenet:fix-old-macos, r=alexcrichton
Target builds for older macOS Fix rust-lang#40481
Configuration menu - View commit details
-
Copy full SHA for 6242e2f - Browse repository at this point
Copy the full SHA 6242e2fView commit details -
Rollup merge of rust-lang#40507 - alexcrichton:static-libcurl, r=brson
travis: Ensure cargo links libcurl statically We don't want a dynamic dependency in the library that we ship, so link it statically by configuring curl-sys's build script to not pick up the system version via pkg-config.
Configuration menu - View commit details
-
Copy full SHA for 63fb201 - Browse repository at this point
Copy the full SHA 63fb201View commit details -
Rollup merge of rust-lang#40521 - TimNN:panic-free-shift, r=nagisa
Implemente overflowing_sh* with new unchecked_sh* intrinsics Also update some 128 bit builtins to not rely on the constant evaluator to avoid checked operations. Fixes rust-lang#40508. cc @nagisa, @alexcrichton Note: I still have a build running to see if the 128 bit changes worked (unoptimized builds take *forever* to compile), however at least the overflowing builtins no longer reference `core::panicking::panic`.
Configuration menu - View commit details
-
Copy full SHA for 4cdcf87 - Browse repository at this point
Copy the full SHA 4cdcf87View commit details -
Rollup merge of rust-lang#40538 - aturon:stab-1.17, r=alexcrichton
Library stabilizations for 1.17 Details of the stabilizations are available in the commits. Includes only library stabilizations; there are a couple of compiler stabilizations that should also be done for 1.17. Will need a beta backport, which I will create after approval. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 0fe80d8 - Browse repository at this point
Copy the full SHA 0fe80d8View commit details -
Rollup merge of rust-lang#40562 - mbrubeck:bootstrap, r=alexcrichton
Remove unused param from bootstrap::clean::rm_rf None
Configuration menu - View commit details
-
Copy full SHA for fb22c1d - Browse repository at this point
Copy the full SHA fb22c1dView commit details -
Rollup merge of rust-lang#40564 - GuillaumeGomez:rustdoc-const, r=fre…
…wsxcv Fix const not displayed in rustdoc Fixes rust-lang#40331. r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for c4c51ca - Browse repository at this point
Copy the full SHA c4c51caView commit details -
Rollup merge of rust-lang#40583 - jseyfried:fix_include_macro_regress…
…ion, r=nrc macros: fix regression with `include!()` Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`. r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 4955503 - Browse repository at this point
Copy the full SHA 4955503View commit details -
Rollup merge of rust-lang#40588 - topecongiro:add-missing-tests, r=al…
…excrichton Add a test for issue 34571 Closes rust-lang#34571.
Configuration menu - View commit details
-
Copy full SHA for 7a0dd2b - Browse repository at this point
Copy the full SHA 7a0dd2bView commit details -
Rollup merge of rust-lang#40590 - z1mvader:master, r=steveklabnik
documented order of conversion between u32 an ipv4addr This fixes rust-lang#40118
Configuration menu - View commit details
-
Copy full SHA for 3035845 - Browse repository at this point
Copy the full SHA 3035845View commit details -
Rollup merge of rust-lang#40603 - QuietMisdreavus:slice-ptr-docs, r=G…
…uillaumeGomez minor wording tweak to slice::{as_ptr, as_mut_ptr} Per rust-lang#37334, the slice-as-pointer methods mentioned that "modifying the slice may cause its buffer to be reallocated", when in fact modifying the *slice* itself would cause no such change. (It is a borrow, after all!) This is a tweak to the wording of that line to stress it's the *collection* that could cause the buffer to be reallocated. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for ae9a710 - Browse repository at this point
Copy the full SHA ae9a710View commit details -
Rollup merge of rust-lang#40611 - ScottAbbey:patch-1, r=GuillaumeGomez
Fix typo in mutex.rs docs This seems to match other uses of "be accessed" in the document.
Configuration menu - View commit details
-
Copy full SHA for f6c8a9d - Browse repository at this point
Copy the full SHA f6c8a9dView commit details