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 #67380

Closed

Commits on Dec 13, 2019

  1. Fix the configure.py TOML field for a couple LLVM options

    The actual fields in `config.toml.example` have dashes, not underscores.
    cuviper committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    6c7c512 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2019

  1. make htons const fn

    tesuji committed Dec 15, 2019
    Configuration menu
    Copy the full SHA
    3594d8b View commit details
    Browse the repository at this point in the history
  2. Remove now-redundant range check on u128 -> f32 casts

    This code was added to avoid UB in LLVM 6 and earlier, but we no longer support those LLVM versions.
    Since https://reviews.llvm.org/D47807 (released in LLVM 7), uitofp does exactly what we need.
    
    Closes rust-lang#51872
    Robin Kruppe committed Dec 15, 2019
    Configuration menu
    Copy the full SHA
    6ad0b55 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. Set release channel on non-dist builders

    Toolstate publication only runs if the channel is "nightly" and
    previously the toolstate builders did not know that the channel was
    nightly (since they are not dist builders).
    
    A look through bootstrap seems to indicate that nothing should directly
    depend on the channel being set to `-dev` on the test builders, though
    this may cause some problems with UI tests (if for some reason they're
    dumping the channel into stderr), but we cannot find evidence of such so
    hopefully this is fine.
    Mark-Simulacrum committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    f365dbc View commit details
    Browse the repository at this point in the history
  2. Add individual crates to rustfmt ignore list.

    Co-Authored-By: Mark Rousskov <mark.simulacrum@gmail.com>
    anp and Mark-Simulacrum committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    dd7593b View commit details
    Browse the repository at this point in the history
  3. bootstrap.py fetches rustfmt.

    Co-Authored-By: Mark Rousskov <mark.simulacrum@gmail.com>
    anp and Mark-Simulacrum committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    cf0e6aa View commit details
    Browse the repository at this point in the history
  4. Implement ./x.py fmt [--check].

    anp authored and Mark-Simulacrum committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    dd65f8c View commit details
    Browse the repository at this point in the history
  5. Format src/librustc_fs_util.

    In total it's about 100 lines of code and has received less than 5 commits in 2019 -- a good starting point.
    anp authored and Mark-Simulacrum committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    72a90b1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f93af13 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Revert "Auto merge of rust-lang#67362 - Mark-Simulacrum:par-4-default…

    …, r=alexcrichton"
    
    This reverts commit 3ed3b8b, reversing
    changes made to 99b8953.
    
    We will reland a similar patch at a future date but for now we should get a nightly
    released in a few hours with the parallel patch, so this should be
    reverted to make sure that the next nightly is not parallel-enabled.
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    7f00a5f View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#65939 - anp:incremental-rustfmt-rollout, r=…

    …Mark-Simulacrum
    
    Enable incremental rustfmt adoption
    
    Enables an incremental rollout of rustfmt usage within the compiler via a granular ignore configuration and automated enforcement. The decision to format the repository was approved in rust-lang/compiler-team#80 (comment).
    
    This PR includes:
    
    * an `[ignore]` section to `rustfmt.toml` including most of the repository
    * `./x.py` downloads rustfmt from a specific nightly (we do not pin to beta or stable as we need unstable features)
    * an `./x.py fmt [--check]` command which runs cargo-fmt
    * `./x.py fmt --check` runs during the same test step as `src/tools/tidy`, on master, but not on beta or stable as we don't want to depend on nightly rustfmt there.
    * a commit to format `src/librustc_fs_util` as an initial target and to ensure enforcement is working from the start
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    5bbf17c View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#67286 - cuviper:configure-llvm, r=Dylan-DPC

    Fix the configure.py TOML field for a couple LLVM options
    
    The actual fields in `config.toml.example` have dashes, not underscores.
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    ae1bab2 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#67321 - lzutao:htons, r=dtolnay

    make htons const fn
    
    This may partially help rust-lang#67315.
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    088ee75 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#67328 - rkruppe:simplify-u128-f32-cast, r=m…

    …atthewjasper
    
    Remove now-redundant range check on u128 -> f32 casts
    
    This code was added to avoid UB in LLVM 6 and earlier, but we no longer support those LLVM versions.
    Since https://reviews.llvm.org/D47807 (released in LLVM 7), uitofp does exactly what we need.
    
    Closes rust-lang#51872
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    e8ab2fd View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#67351 - Mark-Simulacrum:always-channel, r=p…

    …ietroalbini
    
    Set release channel on non-dist builders
    
    Toolstate publication only runs if the channel is "nightly" and
    previously the toolstate builders did not know that the channel was
    nightly (since they are not dist builders).
    
    A look through bootstrap seems to indicate that nothing should directly
    depend on the channel being set to `-dev` on the test builders, though
    this may cause some problems with UI tests (if for some reason they're
    dumping the channel into stderr), but we cannot find evidence of such so
    hopefully this is fine.
    
    r? @pietroalbini
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    ed2b00a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#67379 - Mark-Simulacrum:revert-par-4-defaul…

    …t, r=Mark-Simulacrum
    
    Revert enabling parallelism by default
    
    We will re-land a similar patch at a future date but for now we should get a nightly
    released in a few hours with the parallel patch, so this should be
    reverted to make sure that the next nightly is not parallel-enabled.
    
    r? @ghost
    Mark-Simulacrum committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    d433da3 View commit details
    Browse the repository at this point in the history