-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 15 pull requests #40615
Rollup of 15 pull requests #40615
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
-
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 -
rustbuild: Update bootstrap compiler
Now that we've also updated cargo's release process this commit also changes the download location of Cargo from Cargos archives back to the static.r-l.o archives. This should ensure that the Cargo download is the exact Cargo paired with the rustc that we release.
Configuration menu - View commit details
-
Copy full SHA for e58f9f5 - Browse repository at this point
Copy the full SHA e58f9f5View 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 ce616a7 - Browse repository at this point
Copy the full SHA ce616a7View commit details
Commits on Mar 16, 2017
-
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 -
This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
Configuration menu - View commit details
-
Copy full SHA for a4bd5e9 - Browse repository at this point
Copy the full SHA a4bd5e9View 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 -
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 70bbbce - Browse repository at this point
Copy the full SHA 70bbbceView 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 b449fda - Browse repository at this point
Copy the full SHA b449fdaView commit details -
Rollup merge of rust-lang#40347 - alexcrichton:rm-liblog, r=brson
Remove internal liblog This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
Configuration menu - View commit details
-
Copy full SHA for a6cebc0 - Browse repository at this point
Copy the full SHA a6cebc0View 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 935a905 - Browse repository at this point
Copy the full SHA 935a905View 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 496d185 - Browse repository at this point
Copy the full SHA 496d185View 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 0644fae - Browse repository at this point
Copy the full SHA 0644faeView 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 3c4b859 - Browse repository at this point
Copy the full SHA 3c4b859View 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 be924b1 - Browse repository at this point
Copy the full SHA be924b1View commit details -
Rollup merge of rust-lang#40524 - alexcrichton:update-bootstrap, r=brson
rustbuild: Update bootstrap compiler Now that we've also updated cargo's release process this commit also changes the download location of Cargo from Cargos archives back to the static.r-l.o archives. This should ensure that the Cargo download is the exact Cargo paired with the rustc that we release.
Configuration menu - View commit details
-
Copy full SHA for 50bf60e - Browse repository at this point
Copy the full SHA 50bf60eView commit details -
Rollup merge of rust-lang#40532 - jseyfried:improve_tokenstream_quote…
…r, r=nrc macros: improve the `TokenStream` quoter This PR - renames the `TokenStream` quoter from `qquote!` to `quote!`, - uses `$` instead of `unquote` (e.g. `let toks: TokenStream = ...; quote!([$toks])`), - allows unquoting `Token`s as well as `TokenTree`s and `TokenStream`s (fixes rust-lang#39746), and - to preserve syntactic space, requires that `$` be followed by - a single identifier to unquote, or - another `$` to produce a literal `$`. r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 8db0914 - Browse repository at this point
Copy the full SHA 8db0914View 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 55eacfe - Browse repository at this point
Copy the full SHA 55eacfeView 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 7501349 - Browse repository at this point
Copy the full SHA 7501349View 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 ac1d2e6 - Browse repository at this point
Copy the full SHA ac1d2e6View 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 02a688b - Browse repository at this point
Copy the full SHA 02a688bView 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 60e7df4 - Browse repository at this point
Copy the full SHA 60e7df4View commit details