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 8 pull requests #126569

Merged
merged 27 commits into from
Jun 17, 2024
Merged

Rollup of 8 pull requests #126569

merged 27 commits into from
Jun 17, 2024

Commits on Jun 11, 2024

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

Commits on Jun 12, 2024

  1. export std::os::fd module on HermitOS

    The HermitOS' IO interface is similiar to Unix. Consequently,
    this PR synchronize the FD implementation between both.
    stlankes committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    c462328 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    9e85104 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f97ab5 View commit details
    Browse the repository at this point in the history
  3. Add more tests

    compiler-errors committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    805397c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f3357c View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. update comment

    slanterns committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    6cce488 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2404783 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. Configuration menu
    Copy the full SHA
    e102d2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf74fb1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88ade9c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    118f66c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2d3e6c8 View commit details
    Browse the repository at this point in the history
  6. coverage: Remove some old low-value unit tests for graph traversal

    These tests might have originally been useful as an implementation aid, but now
    they don't provide enough value to justify the burden of updating them as the
    underlying code changes.
    
    The code they test is still exercised by the main end-to-end coverage tests.
    Zalathar committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    5eb30f0 View commit details
    Browse the repository at this point in the history
  7. coverage: Reduce/simplify visibility in coverage::graph

    Using `pub(super)` makes it harder to move code between modules, and doesn't
    provide much privacy benefit over `pub(crate)`.
    Zalathar committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    917b455 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dca6b5e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e5b43c3 View commit details
    Browse the repository at this point in the history
  10. Apply suggestion.

    Co-authored-by: Jubilee <[email protected]>
    slanterns and workingjubilee committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    51d9546 View commit details
    Browse the repository at this point in the history
  11. doc: Added commas where needed

    x4exr authored and dtolnay committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    fe9154c View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Rollup merge of rust-lang#125258 - compiler-errors:static-if-no-lt, r…

    …=nnethercote
    
    Resolve elided lifetimes in assoc const to static if no other lifetimes are in scope
    
    Implements the change to elided lifetime resolution in *associated consts* subject to FCP here: rust-lang#125190 (comment)
    
    Specifically, walk the enclosing lifetime ribs in an associated const, and if we find no other lifetimes, then resolve to `'static`.
    
    Also make it work for traits, but don't lint -- just give a hard error in that case.
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    23b936f View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#126250 - epage:change, r=Mark-Simulacrum

    docs(change): Don't mention a Cargo 2024 edition change for 1.79
    
    <!--
    If this PR is related to an unstable feature or an otherwise tracked effort,
    please link to the relevant tracking issue here. If you don't know of a related
    tracking issue or there are none, feel free to ignore this.
    
    This PR will get automatically assigned to a reviewer. In case you would like
    a specific user to review your work, you can assign it to them by using
    
        r​? <reviewer name>
    -->
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    6e50dbc View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#126288 - x4exr:patch-1, r=dtolnay

    doc: Added commas where needed
    
    <!--
    If this PR is related to an unstable feature or an otherwise tracked effort,
    please link to the relevant tracking issue here. If you don't know of a related
    tracking issue or there are none, feel free to ignore this.
    
    This PR will get automatically assigned to a reviewer. In case you would like
    a specific user to review your work, you can assign it to them by using
    
        r​? <reviewer name>
    -->
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    a8ccf97 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#126346 - hermit-os:fd, r=Amanieu

    export std::os::fd module on HermitOS
    
    The HermitOS' IO interface is similiar to Unix. Consequently, this PR synchronize the FD implementation between both.
    
    closes rust-lang#126198
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    cd4c0f0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#126468 - RalfJung:euclid, r=Mark-Simulacrum

    div_euclid, rem_euclid: clarify/extend documentation
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    f39327b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#126531 - slanterns:error_provider, r=workin…

    …gjubilee
    
    Add codegen test for `Request::provide_*`
    
    Codegen before & after rust-lang#126242: https://gist.github.com/slanterns/3789ee36f59ed834e1a6bd4677b68ed4.
    
    Also adjust an outdated comment since `tag_id` is no longer attached to `TaggedOption` via `Erased`, but stored next to it in `Tagged` under the new implementation.
    
    My first time writing FileCheck xD. Correct me if there is anything that should be amended.
    
    r? libs
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    61577a8 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#126535 - Zalathar:covspans, r=nnethercote

    coverage: Arrange span extraction/refinement as a series of passes
    
    The old code for extracting/refining coverage spans from MIR has been dismantled and split up into several passes (e.g. see rust-lang#126294), but because this was done incrementally, the resulting code is disorganised.
    
    This PR addresses that by moving the main control-flow into a single function (`coverage::spans::extract_refined_covspans`) that more clearly shows the process as a series of separate steps, most delegated to helper functions in the same file.
    
    This should make it easier to understand and modify the refinement process. It also means that submodule `from_mir` is now only concerned with the details of extracting relevant spans from the various kinds of MIR statement/terminator.
    
    There should be no change to the resulting coverage maps, as demonstrated by the lack of changes to tests.
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    d9af579 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#126538 - Zalathar:graph, r=nnethercote

    coverage: Several small improvements to graph code
    
    This PR combines a few small improvements to coverage graph handling code:
    - Remove some low-value implementation tests that were getting in the way of other changes.
    - Clean up `pub` visibility.
    - Flatten some code using let-else.
    - Prefer `.copied()` over `.cloned()`.
    
    `@rustbot` label +A-code-coverage
    jieyouxu authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    d92aa56 View commit details
    Browse the repository at this point in the history