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 13 pull requests #41947

Closed
wants to merge 34 commits into from

Commits on May 9, 2017

  1. Configuration menu
    Copy the full SHA
    f383cbf View commit details
    Browse the repository at this point in the history
  2. Use "rust-installer tarball" to create rustc-src too

    This gives us an extra rustc-src.tar.xz, which is 33% smaller than the .tar.gz!
    cuviper committed May 9, 2017
    Configuration menu
    Copy the full SHA
    c9b2410 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    defcfb2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8eaff4d View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. rustc: Add a new -Z force-unstable-if-unmarked flag

    This commit adds a new `-Z` flag to the compiler for use when bootstrapping the
    compiler itself. We want to be able to use crates.io crates, but we also want
    the usage of such crates to be as ergonomic as possible! To that end compiler
    crates are a little tricky in that the crates.io crates are not annotated as
    unstable, nor do they expect to pull in unstable dependencies.
    
    To cover all these situations it's intended that the compiler will forever now
    bootstrap with `-Z force-unstable-if-unmarked`. This flags serves a dual purpose
    of forcing crates.io crates to themselves be unstable while also allowing them
    to use other "unstable" crates.io crates. This should mean that adding a
    dependency to compiler no longer requires upstream modification with
    unstable/staged_api attributes for inclusion!
    alexcrichton committed May 10, 2017
    Configuration menu
    Copy the full SHA
    99f629a View commit details
    Browse the repository at this point in the history
  2. Don't use sanitize_sh with rust-installer

    There's no shell interpreting the file paths under the new Rusty
    rust-installer, so we don't need to use `sanitize_sh` for it.  Plus,
    the drive-letter transformation is actually harmful for the now-native
    Windows rust-installer to understand those paths.
    cuviper committed May 10, 2017
    Configuration menu
    Copy the full SHA
    2729b71 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. doc: break into 2 sentences

    tshepang committed May 11, 2017
    Configuration menu
    Copy the full SHA
    e42875c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67a0d27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43349e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    641d053 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb5fc3c View commit details
    Browse the repository at this point in the history
  6. Pass crate attributes in visit.rs

    nrc committed May 11, 2017
    Configuration menu
    Copy the full SHA
    fb7ba47 View commit details
    Browse the repository at this point in the history
  7. Annotate the license exceptions

    brson committed May 11, 2017
    Configuration menu
    Copy the full SHA
    084b67f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    75b69c4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    68c1ce9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    af0e16c View commit details
    Browse the repository at this point in the history
  11. rustc: Remove #![unstable] annotation

    These are now no longer necessary with `-Z force-unstable-if-unmarked`
    alexcrichton committed May 11, 2017
    Configuration menu
    Copy the full SHA
    ab54f4b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    861a4ed View commit details
    Browse the repository at this point in the history

Commits on May 12, 2017

  1. Remove some unused macros from the rust codebase

    Removes unused macros from:
      * libcore
      * libcollections
        The last use of these two macros was removed in commit
        b64c9d5
        when the char_range_at_reverse function was been removed.
      * librustc_errors
        Their last use was removed by commits
        2f2c3e1
        and 11dc974.
      * libsyntax_ext
      * librustc_trans
        Also, put the otry macro in back/msvc/mod.rs under the
        same cfg argument as the places that use it.
    est31 committed May 12, 2017
    Configuration menu
    Copy the full SHA
    80891f6 View commit details
    Browse the repository at this point in the history
  2. use equality in the coerce-unsized check

    This seems both to be a safe, conservative choice,
    and it sidesteps the cycle in rust-lang#41936.
    
    Fixes rust-lang#41936.
    nikomatsakis committed May 12, 2017
    Configuration menu
    Copy the full SHA
    138a4c8 View commit details
    Browse the repository at this point in the history
  3. Fix unexpected panic with the -Z treat-err-as-bug option

    This fix an issue where the compiler panics even if there is no
    error when passed with the `-Z treat-err-as-bug` option.
    
    Fixes rust-lang#35886.
    tommyip committed May 12, 2017
    Configuration menu
    Copy the full SHA
    7a03b4c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#41843 - cuviper:oxidized-installer, r=alexc…

    …richton
    
    Update to the Rusty rust-installer
    
    This updates the rust-installer submodule to the new version written in Rust (rust-lang/rust-installer#62), now moved to `src/tools/rust-installer` and invoked in `dist.rs` as a cargo-based tool command.  All of the former shell-script invocations now invoke the tool, otherwise keeping the same arguments as before.
    
    As a small bonus, `rustc-src` now also uses the same tarball generator, so it gains a smaller `.tar.xz` too.
    
    Fixes rust-lang#41569.  r? @alexcrichton
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    9f8ea35 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41847 - alexcrichton:less-unstable-annotati…

    …ons, r=eddyb
    
    rustc: Add a new `-Z force-unstable-if-unmarked` flag
    
    This commit adds a new `-Z` flag to the compiler for use when bootstrapping the
    compiler itself. We want to be able to use crates.io crates, but we also want
    the usage of such crates to be as ergonomic as possible! To that end compiler
    crates are a little tricky in that the crates.io crates are not annotated as
    unstable, nor do they expect to pull in unstable dependencies.
    
    To cover all these situations it's intended that the compiler will forever now
    bootstrap with `-Z force-unstable-if-unmarked`. This flags serves a dual purpose
    of forcing crates.io crates to themselves be unstable while also allowing them
    to use other "unstable" crates.io crates. This should mean that adding a
    dependency to compiler no longer requires upstream modification with
    unstable/staged_api attributes for inclusion!
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    2398241 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#41860 - mbrubeck:docs, r=nagisa

    Remove wrong or outdated info from CString docs.
    
    None
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    49e5381 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#41896 - tshepang:too-long, r=steveklabnik

    doc: break into 2 sentences
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    abb729d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#41912 - oli-obk:patch-3, r=eddyb

    Upgrade some comments to doc comments
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    0dc6108 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#41916 - mglagla:typo, r=sfackler

    Fix typo in Iterator::size_hint example comment
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    568d6b1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#41918 - brson:lic, r=alexcrichton

    Annotate the license exceptions
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    a2b4384 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#41919 - nrc:save-crate, r=eddyb

    Include the crate's root module in save-analysis
    
    r? @eddyb
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    7a2c8ae View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#41921 - GuillaumeGomez:fix-search-style, r=…

    …steveklabnik
    
    Fix search when looking to sources
    
    Before:
    
    <img width="1440" alt="screen shot 2017-05-11 at 22 33 28" src="https://cloud.githubusercontent.com/assets/3050060/25970761/03fd2ade-369a-11e7-9fd6-783c23455589.png">
    
    After:
    
    <img width="1440" alt="screen shot 2017-05-11 at 22 34 05" src="https://cloud.githubusercontent.com/assets/3050060/25970770/09ac71ce-369a-11e7-9038-559f414e07b5.png">
    
    r? @rust-lang/docs
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    bf6b372 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#41923 - eddyb:issue-41744, r=arielb1

    rustc_trans: do not attempt to truncate an i1 const to i1.
    
    Fixes rust-lang#41744 by skipping the truncation when it'd be a noop anyway.
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    9b1a487 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#41934 - est31:remove_unused_macros, r=nagisa

    Remove unused macros from the codebase
    
    Thanks to the lint I've implemented in rust-lang#41907 I've found some unused macros inside the rustc codebase.
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    58d29b1 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#41937 - nikomatsakis:issue-41936-variance-c…

    …oerce-unsized-cycle, r=eddyb
    
    use equality in the coerce-unsized check
    
    This seems both to be a safe, conservative choice, and it sidesteps the cycle in rust-lang#41849. Note that, before I converted variance into proper queries, we were using a hybrid of subtyping and equality, due to the presence of a flag that forced invariance if variance had not yet been computed. (Also, Coerce Unsized is unstable.)
    
    Fixes rust-lang#41936.
    
    r? @eddyb
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    4fdcb65 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#41942 - tommyip:master, r=Mark-Simulacrum

    Fix unexpected panic with the -Z treat-err-as-bug option
    
    This fix an issue where the compiler panics even if there is no error when passed with the `-Z treat-err-as-bug` option.
    
    Fixes rust-lang#35886.
    
    r? @Mark-Simulacrum
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    89b0ee4 View commit details
    Browse the repository at this point in the history