Skip to content
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 6 pull requests #40840

Closed
wants to merge 20 commits into from
Closed

Rollup of 6 pull requests #40840

wants to merge 20 commits into from

Commits on Mar 21, 2017

  1. Configuration menu
    Copy the full SHA
    9768ef5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03ce886 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b957df0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ac00de View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2017

  1. 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.
    alexcrichton committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    c2b44a3 View commit details
    Browse the repository at this point in the history
  2. Update cargo submodule

    I'm not really sure what we want the cadence here to be. We'll at the very least
    update the Cargo submodule right before all releases, but otherwise I figured we
    could just do it whenever needed or otherwise weekly (or something like that).
    
    In any case, I don't have a super strong particular reason to do this, it's just
    been a week or so since the release!
    alexcrichton committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    b470354 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2017

  1. Configuration menu
    Copy the full SHA
    50c4222 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    074a3c4 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2017

  1. Configuration menu
    Copy the full SHA
    da3ad47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c49446 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b92255 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33a6a07 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    64cd0be View commit details
    Browse the repository at this point in the history
  6. Change try! to ?

    donniebishop committed Mar 25, 2017
    Configuration menu
    Copy the full SHA
    fb5e63f View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2017

  1. 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.
    frewsxcv committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    9ae3735 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#40597 - jseyfried:improve_span_expn_info, r…

    …=nrc
    
    macros: improve `Span`'s expansion information
    
    This PR improves `Span`'s expansion information. More specifically:
     - It refactors AST node span construction to preserve expansion information.
       - Today, we only use the underlying tokens' `BytePos`s, throwing away the `ExpnId`s.
       - This improves the accuracy of AST nodes' expansion information, fixing rust-lang#30506.
     - It refactors `span.expn_id: ExpnId` to `span.ctxt: SyntaxContext` and removes `ExpnId`.
       - This gives all tokens as much hygiene information as `Ident`s.
       - This is groundwork for procedural macros 2.0 `TokenStream` API.
       - This is also groundwork for declarative macros 2.0, which will need this hygiene information for some non-`Ident` tokens.
     - It simplifies processing of spans' expansion information throughout the compiler.
     - It fixes rust-lang#40649.
    
    r? @nrc
    frewsxcv committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    e351a87 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40658 - eddyb:lay-more-out, r=arielb1

    Use ty::layout for ABI computation instead of LLVM types.
    
    This is the first step in creating a backend-agnostic library for computing call ABI details from signatures.
    I wanted to open the PR *before* attempting to move `cabi_*` from trans to avoid rebase churn in rust-lang#39999.
    **EDIT**: As I suspected, rust-lang#39999 needs this PR to fully work (see rust-lang#39999 (comment)).
    
    The first 3 commits add more APIs to `ty::layout` and replace non-ABI uses of `sizing_type_of`.
    These APIs are probably usable by other backends, and miri too (cc @stoklund @solson).
    
    The last commit rewrites `rustc_trans::cabi_*` to use `ty::layout` and new `rustc_trans::abi` APIs.
    Also, during the process, a couple trivial bugs were identified and fixed:
    * `msp430`, `nvptx`, `nvptx64`: type sizes *in bytes* were compared with `32` and `64`
    * `x86` (`fastcall`): `f64` was incorrectly not treated the same way as `f32`
    frewsxcv committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    846f504 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40778 - alexcrichton:update-cargo, r=alexcr…

    …ichton
    
    Update cargo submodule
    
    I'm not really sure what we want the cadence here to be. We'll at the very least
    update the Cargo submodule right before all releases, but otherwise I figured we
    could just do it whenever needed or otherwise weekly (or something like that).
    
    In any case, I don't have a super strong particular reason to do this, it's just
    been a week or so since the release!
    frewsxcv committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    c56bfed View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40818 - theotherphil:master, r=steveklabnik

    Don't stutter in operator trait descriptions
    
    Fixes first item on rust-lang#29365.
    
    r? @steveklabnik
    frewsxcv committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    24b40a6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40824 - donniebishop:fromstr_docexample, r=…

    …steveklabnik
    
    FromStr implementation example
    
    Referencing rust-lang#29375. Added example implementation of FromStr trait to API Documentation
    frewsxcv committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    2d01cfb View commit details
    Browse the repository at this point in the history