1. 03 7月, 2020 18 次提交
    • B
      fix typo · 3ed320e8
      Bastian Kauschke 提交于
      3ed320e8
    • B
      Auto merge of #73897 - ehuss:update-cargo, r=ehuss · f844ea1e
      bors 提交于
      Update cargo, rls
      
      ## cargo
      14 commits in c26576f9adddd254b3dd63aecba176434290a9f6..fede83ccf973457de319ba6fa0e36ead454d2e20
      2020-06-23 16:21:21 +0000 to 2020-07-02 21:51:34 +0000
      - Fix overflow error on 32-bit. (rust-lang/cargo#8446)
      - Exclude the target directory from backups using CACHEDIR.TAG (rust-lang/cargo#8378)
      - CONTRIBUTING.md: Link to Zulip rather than Discord (rust-lang/cargo#8436)
      - Update built-in help for features (rust-lang/cargo#8433)
      - Update core-foundation requirement from 0.7.0 to 0.9.0 (rust-lang/cargo#8432)
      - Parse `# env-dep` directives in dep-info files (rust-lang/cargo#8421)
      - Move string interning to util (rust-lang/cargo#8419)
      - Expose built cdylib artifacts in the Compilation structure (rust-lang/cargo#8418)
      - Remove unused serde_derive dependency from the crates.io crate (rust-lang/cargo#8416)
      - Remove unused remove_dir_all dependency (rust-lang/cargo#8412)
      - Improve git error messages a bit (rust-lang/cargo#8409)
      - Improve the description of Config.home_path (rust-lang/cargo#8408)
      - Improve support for non-`master` main branches (rust-lang/cargo#8364)
      - Document that OUT_DIR in JSON messages is an absolute path (rust-lang/cargo#8403)
      
      ## rls
      2020-06-19 15:36:00 +0200 to 2020-06-30 23:34:52 +0200
      - Update cargo (rust-lang-nursery/rls#1686)
      f844ea1e
    • B
      Auto merge of #73882 - nnethercote:avoid-unwrap_or_else-in-allocate_in, r=Amanieu · cd1a46d6
      bors 提交于
      Avoid `unwrap_or_else` in `RawVec::allocate_in`.
      
      This reduces the amount of LLVM IR generated by up to 1 or 2%.
      
      r? @Amanieu
      cd1a46d6
    • E
      Update cargo · 90039953
      Eric Huss 提交于
      90039953
    • B
      Auto merge of #73977 - Manishearth:rollup-2x4s7c6, r=Manishearth · 5f4abc16
      bors 提交于
      Rollup of 8 pull requests
      
      Successful merges:
      
       - #73454 (Move contributing.md to rustc-dev-guide and point at getting started)
       - #73724 (Use WASM's saturating casts if they are available)
       - #73726 (resolve: disallow labelled breaks/continues through closures/async blocks)
       - #73753 (Use 'tcx for references to AccessLevels wherever possible.)
       - #73781 (Update psm version)
       - #73952 (Add option for local docker testing.)
       - #73957 (disable BTree min_max test in Miri for now)
       - #73975 (Document rustc_ast::ast::Pat)
      
      Failed merges:
      
      r? @ghost
      5f4abc16
    • E
      Update rls · df4107b5
      Eric Huss 提交于
      df4107b5
    • E
      Update cargo · f3206bce
      Eric Huss 提交于
      f3206bce
    • M
      Rollup merge of #73975 - pierwill:patch-3, r=jonas-schievink · 7bd2f97c
      Manish Goregaokar 提交于
      Document rustc_ast::ast::Pat
      7bd2f97c
    • M
      Rollup merge of #73957 - RalfJung:btree-min-max, r=shepmaster · 5702b27f
      Manish Goregaokar 提交于
      disable BTree min_max test in Miri for now
      
      Until https://github.com/rust-lang/rust/issues/73915 is fixed, better skip this test in Miri so that we can test the others at least.
      5702b27f
    • M
      Rollup merge of #73952 - ehuss:docker-dev, r=Mark-Simulacrum · 441dd5ad
      Manish Goregaokar 提交于
      Add option for local docker testing.
      
      This adds the option `--dev` to `src/ci/docker/run.sh` so that it will enter an interactive environment for local testing. I have often needed this for testing things, but I always needed to edit this script. I wanted the ability to interact in the environment, run different commands, inspect errors, etc.
      441dd5ad
    • M
      Rollup merge of #73781 - nagisa:psm-up, r=Mark-Simulacrum · 7ad8ed96
      Manish Goregaokar 提交于
      Update psm version
      
      This new version includes a fix for building on aarch64 windows.
      
      cc #72881
      7ad8ed96
    • M
      Rollup merge of #73753 - eddyb:extraneous-lifetime, r=Manishearth · d6bfca2c
      Manish Goregaokar 提交于
      Use 'tcx for references to AccessLevels wherever possible.
      
      Most of the changes are just fallout from removing a lifetime parameter from structs, and mostly in clippy.
      
      r? @Manishearth
      d6bfca2c
    • M
      Rollup merge of #73726 - davidtwco:issue-73541-labelled-break-through-closure-async, r=petrochenkov · 2d83cbb8
      Manish Goregaokar 提交于
      resolve: disallow labelled breaks/continues through closures/async blocks
      
      Fixes #73541.
      
      This PR modifies name resolution to prohibit labelled breaks/continues through closures or async blocks, fixing an ICE. In addition, it improves the diagnostics surrounding labelled breaks/continues through closures or async blocks by informing the user if the label exists in an parent scope and telling them that won't work.
      
      r? @petrochenkov (resolve)
      cc @estebank (diagnostic changes) @tmandry (issue is from `wg-async-foundations`)
      2d83cbb8
    • M
      Rollup merge of #73724 - CryZe:wasm-saturating-casts, r=alexcrichton · 65342fd3
      Manish Goregaokar 提交于
      Use WASM's saturating casts if they are available
      
      WebAssembly supports saturating floating point to integer casts behind a target feature. The feature is already available on many browsers. Beginning with 1.45 Rust will start defining the behavior of floating point to integer casts to be saturating as well. For this Rust constructs additional checks on top of the `fptoui` / `fptosi` instructions it emits. Here we introduce the possibility for the codegen backend to construct saturating casts itself and only fall back to constructing the checks ourselves if that is not possible.
      
      Resolves part of #73591
      65342fd3
    • M
      Rollup merge of #73454 - mark-i-m:contributing, r=nikomatsakis · dc6a19c2
      Manish Goregaokar 提交于
      Move contributing.md to rustc-dev-guide and point at getting started
      
      See description on https://github.com/rust-lang/rustc-dev-guide/pull/753
      dc6a19c2
    • P
      Document rustc_ast::ast::Pat · 3c139ae9
      pierwill 提交于
      3c139ae9
    • E
    • B
      Auto merge of #73751 - eddyb:no-empty-tables, r=nikomatsakis · 3503f565
      bors 提交于
      Remove `TypeckTables::empty(None)` and make hir_owner non-optional.
      
      Each commit before the last one removes uses of `TypeckTables::empty(None)`, replacing the empty tables with having `Option` around the `&'tcx TypeckTables<'tcx>` that HIR visitors kept track of.
      
      The last commit removes the concept of "empty `TypeckTables`" altogether, guaranteeing that every `TypeckTables` corresponds to a HIR body owner.
      
      r? @nikomatsakis
      3503f565
  2. 02 7月, 2020 22 次提交