1. 10 7月, 2020 20 次提交
  2. 09 7月, 2020 11 次提交
    • M
      08d3a74a
    • M
      Update src/doc/rustdoc/src/intra-doc-links.md · 271e2a98
      Manish Goregaokar 提交于
      271e2a98
    • M
      Add docs for intra-doc-links · 09f51d41
      Manish Goregaokar 提交于
      09f51d41
    • R
      update miri · 35fae736
      Ralf Jung 提交于
      35fae736
    • B
      Auto merge of #74131 - ollie27:rustdoc_invalid_codeblock_attributes_name, r=GuillaumeGomez · 5db778af
      bors 提交于
      rustdoc: Rename invalid_codeblock_attribute lint to be plural
      
      Lint names should be plural as per the lint naming conventions: https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#lints
      
      r? @GuillaumeGomez
      5db778af
    • N
      Eliminate confusing "globals" terminology. · 81c5bb6a
      Nicholas Nethercote 提交于
      There are some structures that are called "globals", but are they global
      to a compilation session, and not truly global. I have always found this
      highly confusing, so this commit renames them as "session globals" and
      adds a comment explaining things.
      
      Also, the commit fixes an unnecessary nesting of `set()` calls
      `src/librustc_errors/json/tests.rs`
      81c5bb6a
    • B
      Auto merge of #74153 - ehuss:fix-bootstrap-test-librustc, r=Mark-Simulacrum · 8aa18cbd
      bors 提交于
      Fix x.py test for librustc crates.
      
      #73352 introduced a bug where `x.py test src/librustc_ast` would fail to actually run the tests. The issue is that `krate` and `all_krates` were changed to return relative paths. This caused the code to do a test of "relative_path ends with absolute path" which is always false.  The solution is to swap that around.
      
      The change to `Crate` isn't necessary, it just simplifies the code and makes it uniform with `CrateLibrustc`.
      8aa18cbd
    • E
      Update cargo · ca22091a
      Eric Huss 提交于
      ca22091a
    • E
      Fix librustc_errors unit tests. · 72387263
      Eric Huss 提交于
      72387263
    • S
      Avoid running test on Windows platforms · 56b6b446
      Seth Pellegrino 提交于
      There don't seem to be any other compiletests that are 1) building a standalone "no_core" create and then 2) trying to link against it. There seems to be a platform-specific limitation in doing so:
      
      ```
      2020-07-08T16:07:42.9419409Z   = note:    Creating library D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll.lib and object D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll.exp
      2020-07-08T16:07:42.9419810Z           LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
      2020-07-08T16:07:42.9420032Z           D:\a\rust\rust\build\i686-pc-windows-msvc\test\rustdoc\intra-link-prim-methods-external-core\auxiliary\my_core.dll : fatal error LNK1120: 1 unresolved externals
      ```
      
      Possibly this could be resolved by adding a `__DllMainCRTStartup` or `__DllMainCRTStartup@12` symbol in an architecture- and platform-specific way.
      56b6b446
    • T
      Avoid "blacklist" · 1e567c11
      Tamir Duberstein 提交于
      Other terms are more inclusive and precise.
      
      Clippy still has a lint named "blacklisted-name", but renaming it would
      be a breaking change, so is left for future work.
      
      The target configuration option "abi-blacklist" has been depreciated and
      renamed to "unsupported-abis". The old name continues to work.
      1e567c11
  3. 08 7月, 2020 9 次提交