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 10 pull requests #74638

Closed
wants to merge 40 commits into from

Commits on Jun 30, 2020

  1. va_args implementation for AAPCS.

    Implement the va args in codegen for AAPCS, this will be used as the
    default va_args implementation for AArch64 rather than the va_args
    llvm-ir as it currently is.
    
    Copyright (c) 2020, Arm Limited.
    JamieCunliffe committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    fc52b47 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Configuration menu
    Copy the full SHA
    31c7aae View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2020

  1. compiletest: Rewrite extract_lldb_version function

    This makes extract_lldb_version has the same version type like
    extract_gdb_version.
    
    This is technically a breaking change for rustc-dev users.
    But note that rustc-dev is a nightly component.
    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    cfa3a33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d778f32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07d56cb View commit details
    Browse the repository at this point in the history
  4. Use Option::as_deref

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    79d5cbb View commit details
    Browse the repository at this point in the history
  5. Extract closure to function

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    75caee0 View commit details
    Browse the repository at this point in the history
  6. Use subslice pattern

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    5aa33b1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5e5d816 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2bcefa8 View commit details
    Browse the repository at this point in the history
  9. Extract extract_version_range

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    99e3a3c View commit details
    Browse the repository at this point in the history
  10. Rewrite extract_llvm_version

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    60fac34 View commit details
    Browse the repository at this point in the history
  11. Rewrite extract_version_range

    tesuji committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    1314d31 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4fb260b View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Configuration menu
    Copy the full SHA
    0ced817 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc528eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f5c7f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f74971 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b795cf1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0c5891b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4344265 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cf52d5f View commit details
    Browse the repository at this point in the history
  9. refactor and reword intra-doc link errors

    This commit refactors intra-doc link error reporting to deduplicate code
    and decouple error construction from the type of error. This greatly
    improves flexibility at each error construction site, while reducing the
    complexity of the diagnostic creation.
    
    This commit also rewords the diagnostics for clarity and style:
    
    - Diagnostics should not end in periods.
    - It's unnecessary to say "ignoring it". Since this is a warning by
      default, it's already clear that the link is ignored.
    euclio committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    7f3e2c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Add the aarch64-apple-darwin target

    This is a basic copy-paste-modify from the existing
    x86_64-apple-darwin target.
    shepmaster committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    4c69d4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    804241e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3340b5 View commit details
    Browse the repository at this point in the history
  4. Remove the assert on alignment check.

    Also the alignment should only be done on general register types as
    per the AAPCS so fixed that issue.
    
    Copyright (c) 2020, Arm Limited.
    JamieCunliffe committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    8b58eb9 View commit details
    Browse the repository at this point in the history
  5. Update books

    ehuss committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    3eed7da View commit details
    Browse the repository at this point in the history
  6. Change error code number

    estebank committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    7b05fb5 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. Configuration menu
    Copy the full SHA
    96225b1 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#73655 - JamieCunliffe:jamie_va-args-c, r=nikic

    va_args implementation for AAPCS.
    
    Implement the va args in codegen for AAPCS, this will be used as the
    default va_args implementation for AArch64 rather than the va_args
    llvm-ir as it currently is.
    
    This should fix the following issues:
    rust-lang#56475
    rust-lang#72579
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    fc5b8c3 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#73783 - estebank:impl-dyn-trait-static-life…

    …time, r=nikomatsakis
    
    Detect when `'static` obligation might come from an `impl`
    
    Partly address rust-lang#71341.
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    763d019 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#73893 - ajpaverd:cfguard-stabilize, r=nikom…

    …atsakis
    
    Stabilize control-flow-guard codegen option
    
    This is the stabilization PR discussed in rust-lang#68793. It converts the `-Z control-flow-guard` debugging option into a codegen option (`-C control-flow-guard`), and changes the associated tests.
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    ae9c9b0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#74237 - lzutao:compiletest, r=Mark-Simulacrum

    compiletest: Rewrite extract_*_version functions
    
    This makes extract_lldb_version has the same version type like
    extract_gdb_version.
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    7408505 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#74528 - euclio:intra-link-errors, r=jyn514

    refactor and reword intra-doc link errors
    
    This commit refactors intra-doc link error reporting to deduplicate code
    and decouple error construction from the type of error. This greatly
    improves flexibility at each error construction site, while reducing the
    complexity of the diagnostic creation.
    
    This commit also rewords the diagnostics for clarity and style:
    
    - Diagnostics should not end in periods.
    - It's unnecessary to say "ignoring it". Since this is a warning by
      default, it's already clear that the link is ignored.
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    4f2f63e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#74538 - nbdd0121:issue-73976, r=lcnr

    Guard against non-monomorphized type_id intrinsic call
    
    This PR checks whether the type is sufficient monomorphized when calling type_id or type_name intrinsics. If the type is not sufficiently monomorphized, e.g. used in a pattern, the code will be rejected.
    
    Fixes rust-lang#73976
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    e46546d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#74541 - shepmaster:aarch64-apple-darwin-tar…

    …get, r=nagisa
    
    Add the aarch64-apple-darwin target
    
    This is a basic copy-paste-modify from the existing
    x86_64-apple-darwin target.
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    d996947 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#74570 - spastorino:fix-prioritization-proce…

    …dures-links, r=Mark-Simulacrum
    
    Use forge links for prioritization procedure
    
    r? @Mark-Simulacrum
    
    cc @rust-lang/wg-prioritization
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    4bb817b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#74589 - ehuss:update-books, r=ehuss

    Update books
    
    ## reference
    
    5 commits in 0ea7bc494f1289234d8800bb9185021e0ad946f0..b329ce37424874ad4db94f829a55807c6e21d2cb
    2020-07-02 15:33:04 -0700 to 2020-07-20 08:54:08 -0700
    - this '*' is unnecessary, and reduces readability (rust-lang/reference#853)
    - Tiny typo fix (rust-lang/reference#849)
    - Update const eval chapter to latest changes (rust-lang/reference#842)
    - Document #[track_caller]. (rust-lang/reference#742)
    - Document shebang restriction. (rust-lang/reference#823)
    
    ## book
    
    2 commits in 84a31397b34f9d405df44f2899ff17a4828dba18..a914f2c7e5cdb771fa465de142381a51c53b580e
    2020-07-04 10:50:18 -0500 to 2020-07-21 09:20:05 -0500
    - Change misleading wording (rust-lang/book#2399)
    - Improve wording to include Windows versions (rust-lang/book#2395)
    
    ## edition-guide
    
    3 commits in 82bec5877c77cfad530ca11095db4456d757f668..bd6e4a9f59c5c1545f572266af77f5c7a5bad6d1
    2020-06-03 08:56:02 -0500 to 2020-07-12 17:37:08 -0500
    - update guide for 1.36 and 1.37 (rust-lang/edition-guide#217)
    - Add contents for Rust 1.35 (rust-lang/edition-guide#216)
    - update edition guide for Rust 1.34 (rust-lang/edition-guide#215)
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    846d539 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#74635 - GuillaumeGomez:fix-tooltip-pos, r=M…

    …anishearth
    
    Fix tooltip position if the documentation starts with a code block
    
    Fixes rust-lang#74321.
    
    Before:
    
    ![before](https://user-images.githubusercontent.com/3050060/88188970-cf842400-cc38-11ea-839b-37e41656837d.png)
    
    After:
    
    ![after](https://user-images.githubusercontent.com/3050060/88188981-d3b04180-cc38-11ea-8194-713ffe640d3a.png)
    
    And in case there is text, it is not being applied:
    
    ![after-witness](https://user-images.githubusercontent.com/3050060/88189009-ddd24000-cc38-11ea-9f0a-61dfd0a0cbd0.png)
    
    And on mobile it isn't needed so it's not "activated":
    
    ![Screenshot from 2020-07-22 17-17-43](https://user-images.githubusercontent.com/3050060/88194698-65bb4880-cc3f-11ea-8513-0043ccca8cfc.png)
    
    r? @rust-lang/rustdoc
    Manishearth authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    1ae7830 View commit details
    Browse the repository at this point in the history