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 #110735

Closed
wants to merge 25 commits into from

Commits on Apr 17, 2023

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

Commits on Apr 19, 2023

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

Commits on Apr 20, 2023

  1. Configuration menu
    Copy the full SHA
    a1780a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d49c7d6 View commit details
    Browse the repository at this point in the history
  3. switch Crate to run_cargo_test

    jyn514 committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    6348fac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84e7253 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7ebddb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    41e3cc4 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Fix x test --no-deps

    - Use `cargo metadata` to determine whether a crate has a library
      package or not
    - Collect metadata for all workspaces, not just the root workspace and
      cargo
    - Don't pass `--lib` for crates without a library
    - Use `run_cargo_test` for rust-installer
    - Don't build documentation in `lint-docs` if `--no-doc` is passed
    jyn514 committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    b3ee81a View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Configuration menu
    Copy the full SHA
    adb5ded View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fb2098 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    232d685 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fbfb620 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cac62ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be68c69 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c5de9a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3141262 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cff6c0e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6f6550f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ebe61ce View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2023

  1. Rollup merge of rust-lang#110255 - clubby789:proc-macro-test-help, r=…

    …jackh726
    
    Suggest using integration tests for test crate using own proc-macro
    
    cc rust-lang#110247
    matthiaskrgr authored Apr 23, 2023
    Configuration menu
    Copy the full SHA
    f815d0b View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#110480 - whtahy:105107/known-bug-tests-for-…

    …unsound-issues, r=jackh726
    
    Add `known-bug` tests for 11 unsound issues
    
    r? `@jackh726`
    
    Should tests for other issues be in separate PRs?  Thanks.
    
    Edit: Partially addresses rust-lang#105107.  This PR adds `known-bug` tests for 11 unsound issues:
    - rust-lang#25860
    - rust-lang#49206
    - rust-lang#57893
    - rust-lang#84366
    - rust-lang#84533
    - rust-lang#84591
    - rust-lang#85099
    - rust-lang#98117
    - rust-lang#100041
    - rust-lang#100051
    - rust-lang#104005
    matthiaskrgr authored Apr 23, 2023
    Configuration menu
    Copy the full SHA
    f8055f0 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#110514 - compiler-errors:remove-find_map_re…

    …levant_impl, r=b-naber
    
    Remove `find_map_relevant_impl`
    
    Fixes rust-lang#108895
    matthiaskrgr authored Apr 23, 2023
    Configuration menu
    Copy the full SHA
    a6ef1f7 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#110576 - jyn514:unify-test-args, r=ozkanonur

    bootstrap: Unify test argument handling
    
    Fixes rust-lang#104198. Does *not* help with rust-lang#80124 because I couldn't figure out a reasonable way to omit `--lib` only for `panic_abort` and not other `std` dependencies.
    
    - Remove unnecessary `test_kind` field and `TestKind` struct. These are just subsets of the existing `builder.kind` / `Kind` struct.
    - Add a new `run_cargo_test` function which handles passing arguments to cargo based on `builder.config`
    - Switch all Steps in `mod test` to `run_cargo_test` where possible
    - Combine several steps into one `CrateBootstrap` step. These tests all do the same thing, just with different crate names.
    - Fix `x test --no-doc`. This is much simpler after the refactors mentioned earlier, but I'm happy to split it into a separate PR if desired. Before, this would panic a lot because steps forgot to pass `--lib`.
    matthiaskrgr authored Apr 23, 2023
    Configuration menu
    Copy the full SHA
    265c0c0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#110590 - oli-obk:object_safe_assoc_types, r…

    …=jackh726
    
    Add some tests around (lack of) object safety of associated types and consts
    
    See https://rust-lang.zulipchat.com/#narrow/stream/144729-t-types/topic/.60where.20Self.3ASized.60.20on.20assoc.20types/near/351260928 for some discussion around why this isn't allowed.
    
    We didn't have any tests for these, so I decided to add them now, even if we don't end up doing anything about it.
    matthiaskrgr authored Apr 23, 2023
    Configuration menu
    Copy the full SHA
    566b88e View commit details
    Browse the repository at this point in the history