1. 23 3月, 2021 1 次提交
  2. 22 3月, 2021 8 次提交
    • T
      disable debug assertions in codegen test · 2d8be457
      The8472 提交于
      2d8be457
    • C
      Fix ICE with `use clippy::a::b;` · bfae41d7
      Camelid 提交于
      bfae41d7
    • N
      Update doc/reference submodule · 68a62b76
      Nikita Popov 提交于
      In particular this pulls in an update to the auto-deref
      recursion_limit example, to no longer rely on the Freeze query.
      68a62b76
    • N
      Don't compute optimized PointerKind for unoptimized builds · 6ac229ca
      Nikita Popov 提交于
      This saves us both the Freeze/Unpin queries, and avoids placing
      noalias attributes, which have a compile-time impact on LLVM
      even in optnone builds (due to always_inline functions).
      6ac229ca
    • T
      add codegen test · 17f4c2a4
      The8472 提交于
      17f4c2a4
    • N
      Enable mutable noalias by default for LLVM 12 · 39ed6439
      Nikita Popov 提交于
      We don't have any known noalias bugs for LLVM 12 ... yet.
      39ed6439
    • N
      Don't consider !Unpin references as noalias · c3f9403f
      Nikita Popov 提交于
      Such structures may contain self-references, in which case the
      same location may be accessible through a pointer that is not
      based-on the noalias pointer.
      
      This is still grey area as far as language semantics are concerned,
      but checking for !Unpin as an indicator for self-referential
      sturctures seems like a good approach for the meantime.
      c3f9403f
    • J
      Download a more recent LLVM version if `src/version` is modified · 40021713
      Joshua Nelson 提交于
      When bumping the bootstrap version, the name of the generated LLVM
      shared object file is changed, even though it's the same contents as
      before. If bootstrap tries to use an older version, it will get linking
      errors:
      
      ```
      Building rustdoc for stage1 (x86_64-unknown-linux-gnu)
         Compiling rustdoc-tool v0.0.0 (/home/joshua/rustc/src/tools/rustdoc)
      error: linking with `cc` failed: exit code: 1
        |
        = note: "cc" "-Wl,--as-needed" ... lots of args ...
        = note: /usr/bin/ld: cannot find -lLLVM-12-rust-1.53.0-nightly
                clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      error: could not compile `rustdoc-tool`
      ```
      40021713
  3. 21 3月, 2021 4 次提交
    • A
      Perform 'deep recollection' in test helper macros · 6d7294a0
      Aaron Hill 提交于
      Currently, the print helper macro performs 'recollection' by doing
      `token_stream.into_iter().collect()`. However, this will not affect
      nonterminals that occur nested inside delimited groups, since the
      wrapping delimited group will be left untouched.
      
      This commit adds 'deep recollection', which recursively recollects every
      delimited group in the token stream. As with normal recollection, we
      only print out something if deep recollection results in a different
      stringified token stream.
      
      This is useful for catching bugs where we update the AST of a
      nonterminal (which affects pretty-printing), but do not update the
      attatched `TokenStream`
      6d7294a0
    • L
      bless mir-opt tests · 2885ca3c
      lcnr 提交于
      2885ca3c
    • L
      update `const_eval_resolve` · 7c9b5b4c
      lcnr 提交于
      7c9b5b4c
    • M
      Bump to 1.53.0 · cd2c6e9e
      Mark Rousskov 提交于
      cd2c6e9e
  4. 20 3月, 2021 4 次提交
  5. 19 3月, 2021 8 次提交
  6. 18 3月, 2021 4 次提交
  7. 17 3月, 2021 11 次提交