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 5 pull requests #126630

Merged
merged 16 commits into from
Jun 18, 2024
Merged

Rollup of 5 pull requests #126630

merged 16 commits into from
Jun 18, 2024

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    e9ff47f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e088edd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ece5ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f2b47f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

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

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    eefb3ac View commit details
    Browse the repository at this point in the history
  2. coverage: Add debugging flag -Zcoverage-options=no-mir-spans

    When set, this flag skips the code that normally extracts coverage spans from
    MIR statements and terminators. That sometimes makes it easier to debug branch
    coverage and MC/DC coverage, because the coverage output is less noisy.
    
    For internal debugging only. If other code changes would make it hard to keep
    supporting this flag, remove it.
    Zalathar committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    abc2c70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6fffe84 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    605b615 View commit details
    Browse the repository at this point in the history
  2. Add a more thorough test of incorrect/unusal #[coverage(..)] syntax

    This test reflects the current implementation behaviour, which is not
    necessarily the desired behaviour.
    Zalathar committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    9a084e6 View commit details
    Browse the repository at this point in the history
  3. Add more thorough coverage tests for #[coverage(..)] in nested func…

    …tions
    
    These tests reflect the current implementation behaviour, which is not
    necessarily the desired behaviour.
    Zalathar committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    5093658 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#125988 - GuillaumeGomez:migrate-run-make-us…

    …ed, r=jieyouxu
    
    Migrate `run-make/used` to `rmake.rs`
    
    Part of rust-lang#121876.
    
    r? `@jieyouxu`
    GuillaumeGomez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    2d0ef75 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#126500 - Oneirical:test-for-the-holy-grail,…

    … r=jieyouxu
    
    Migrate `error-found-staticlib-instead-crate`, `output-filename-conflicts-with-directory`, `output-filename-overwrites-input`, `native-link-modifier-verbatim-rustc` and `native-link-verbatim-linker` `run-make` tests to `rmake.rs` format
    
    Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
    GuillaumeGomez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    6b9bcdc View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#126583 - RalfJung:interpret-oom, r=saethlin

    interpret: better error when we ran out of memory
    GuillaumeGomez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    ab2cada View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#126587 - Zalathar:no-mir-spans, r=oli-obk

    coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`
    
    When set, this flag skips the code that normally extracts coverage spans from MIR statements and terminators. That sometimes makes it easier to debug branch coverage and MC/DC coverage instrumentation, because the coverage output is less noisy.
    
    For internal debugging only. If future code changes would make it hard to keep supporting this flag, it should be removed at that time.
    
    `@rustbot` label +A-code-coverage
    GuillaumeGomez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    bbec736 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#126621 - Zalathar:test-coverage-attr, r=pet…

    …rochenkov
    
    More thorough status-quo tests for `#[coverage(..)]`
    
    In light of the stabilization push at rust-lang#84605 (comment), I have written some tests to more thoroughly capture the current behaviour of the `#[coverage(..)]` attribute.
    
    These tests aim to capture the *current* behaviour, which is not necessarily the desired behaviour. For example, some of the error message are not great, some things that perhaps ought to cause an error do not, and recursive coverage attributes have not been implemented yet.
    
    `@rustbot` label +A-code-coverage
    GuillaumeGomez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    9f455d3 View commit details
    Browse the repository at this point in the history