1. 04 7月, 2020 20 次提交
  2. 03 7月, 2020 20 次提交
    • E
      3bb6dc76
    • B
      fix typo · 3ed320e8
      Bastian Kauschke 提交于
      3ed320e8
    • A
      Add rust-analyzer submodule · 058c1b60
      Aleksey Kladov 提交于
      The current plan is that submodule tracks the `release` branch of
      rust-analyzer, which is updated once a week.
      
      rust-analyzer is a workspace (with a virtual manifest), the actual
      binary is provide by `crates/rust-analyzer` package.
      
      Note that we intentionally don't add rust-analyzer to `Kind::Test`,
      for two reasons.
      
      *First*, at the moment rust-analyzer's test suite does a couple of
      things which might not work in the context of rust repository. For
      example, it shells out directly to `rustup` and `rustfmt`. So, making
      this work requires non-trivial efforts.
      
      *Second*, it seems unlikely that running tests in rust-lang/rust repo
      would provide any additional guarantees. rust-analyzer builds with
      stable and does not depend on the specifics of the compiler, so
      changes to compiler can't break ra, unless they break stability
      guarantee. Additionally, rust-analyzer itself is gated on bors, so we
      are pretty confident that test suite passes.
      058c1b60
    • V
      Fix "getting started" link · df43dcd7
      Valentin 提交于
      The previous link is 404.
      df43dcd7
    • P
      ci: remove the emulated aarch64-gnu image · 775eeb32
      Pietro Albini 提交于
      775eeb32
    • P
      ci: add native aarch64-gnu docker builder · 65f2dce0
      Pietro Albini 提交于
      65f2dce0
    • P
      ci: include the architecture in the docker cache key · e1ea0067
      Pietro Albini 提交于
      We're starting to include native aarch64 machines in our CI, but before
      this commit the architecture wasn't included in the cache key for our
      Docker images. This means there could be conflicts between images
      produced on different architectures, hurting our CI times.
      
      This commit fixes the problem by including the output of `uname -m` in
      the cache key.
      e1ea0067
    • P
      1149cf04
    • P
      ci: move all x86_64 runners to the host-x86_64 directory · 5c876f33
      Pietro Albini 提交于
      We need to add runners designed for an aarch64 host system, and it'd be
      nice to return an error message if someone tries to run an image
      designed for an host architecture in another one.
      
      To start the work on this, this commit moves all the existing builders
      in the host-x86_64 directory, and changes the run.sh script to look up
      the image in the correct directory based on the host architecture.
      5c876f33
    • 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
    • W
      Fix missing return in `optimization_applies()` · e16d6a6c
      Wesley Wiser 提交于
      e16d6a6c
    • W
      Fix debuginfo so that it points to the correct local · 24bfdc98
      Wesley Wiser 提交于
      24bfdc98
    • W
      [mir-opt] Prevent mis-optimization when SimplifyArmIdentity runs · 9248d90d
      Wesley Wiser 提交于
      If temporaries are used beyond just the temporary chain, then we can't
      optimize out the reads and writes.
      9248d90d
    • W
      Add test for simplify-try misoptimization · e3f599c1
      Wesley Wiser 提交于
      e3f599c1
    • P
      Standardize bibliographic citations in rustc API docs · bdc1f40f
      pierwill 提交于
      bdc1f40f
    • 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