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 9 pull requests #127111

Merged
merged 42 commits into from
Jun 29, 2024
Merged

Rollup of 9 pull requests #127111

merged 42 commits into from
Jun 29, 2024

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    ea29d6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    012626b View commit details
    Browse the repository at this point in the history
  3. Small dedup

    Nadrieril committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    cef49f7 View commit details
    Browse the repository at this point in the history
  4. There's nothing to bind for a wildcard

    This commit was obtained by repeatedly inlining and simplifying.
    Nadrieril committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    878ccd2 View commit details
    Browse the repository at this point in the history
  5. Move lower_match_tree

    Nadrieril committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c0c6c32 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. Don't use fake wildcards when we can get the failure block directly

    This commit too was obtained by repeatedly inlining and simplifying.
    Nadrieril committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    7b150a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff49c37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    beb1d35 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. std: separate TLS key creation from TLS access

    Currently, `std` performs an atomic load to get the OS key on every access to `StaticKey` even when the key is already known. This PR thus replaces `StaticKey` with the platform-specific `get` and `set` function and a new `LazyKey` type that acts as a `LazyLock<Key>`, allowing the reuse of the retreived key for multiple accesses.
    joboet committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    e8516f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    81c2c57 View commit details
    Browse the repository at this point in the history
  2. supertrait_def_ids

    compiler-errors committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    c9870cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1160eec View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. rustc_data_structures: Explicitly check for 64-bit atomics support

    Instead of keeping a list of architectures which have native support
    for 64-bit atomics, just use #[cfg(target_has_atomic = "64")] and its
    inverted counterpart to determine whether we need to use portable
    AtomicU64 on the target architecture.
    glaubitz committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    ab1b48e View commit details
    Browse the repository at this point in the history
  2. std: add safety comments

    joboet committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    65aea99 View commit details
    Browse the repository at this point in the history
  3. Remove run_cmd

    Kobzol committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    903d6a9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf5bbb3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    31911e5 View commit details
    Browse the repository at this point in the history
  6. Store Command directly inside BootstrapCommand

    This will make it easier to migrate existing commands to bootstrap command.
    Kobzol committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    3722fb5 View commit details
    Browse the repository at this point in the history
  7. Make it easier to migrate Command to BootstrapCmd

    By allowing `run` to receive all of `BootstrapCmd`, `&mut BootstrapCmd`, `Command` and `&mut Command`.
    Kobzol committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    2a9d5ab View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    86b2191 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f7d9543 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8a890cb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    83d33c2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bed2cbd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2ebfcce View commit details
    Browse the repository at this point in the history
  14. Bump Fuchsia

    This includes the quality-of-life improvements for developers in
    https://fxrev.dev/1061894.
    tmandry committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    1483815 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    45efd9c View commit details
    Browse the repository at this point in the history
  16. Remove wasm target

    This should no longer be required to build Fuchsia.
    tmandry committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    1727e59 View commit details
    Browse the repository at this point in the history
  17. Clarify docs

    tmandry committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a838202 View commit details
    Browse the repository at this point in the history
  18. Rename x86_64-gnu-integration builder to x86_64-fuchsia

    This better reflects what the builder actually does.
    tmandry committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    078d9d8 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3bc3247 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. unify bin_helpers and dylib utility modules

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    0afc774 View commit details
    Browse the repository at this point in the history
  2. create shared_helpers::parse_value_from_args

    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    9098474 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#126822 - Kobzol:bootstrap-cmd-refactor-2, r…

    …=onur-ozkan
    
    Bootstrap command refactoring: port more `Command` usages to `BootstrapCmd` (step 2)
    
    This PR moves more of bootstrap to use `BooststrapCmd`, and also refactors the struct to allow it to serve as a proper command wrapper.
    
    Tracking issue: rust-lang#126819
    
    Best reviewed commit-by-commit, I have been adding some helper impls along the way to ease the migration, and then later I remove some of them since they were no longer needed.
    
    r? `@onur-ozkan`
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    dfa68f1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#126835 - Nadrieril:reify-decision-tree, r=m…

    …atthewjasper
    
    Simplifications in match lowering
    
    A series of small simplifications and deduplications in the MIR lowering of patterns.
    
    r? ````@matthewjasper````
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    806c5c1 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#126953 - joboet:lazy_key, r=jhpratt

    std: separate TLS key creation from TLS access
    
    Currently, `std` performs an atomic load to get the OS key on every access to `StaticKey` even when the key is already known. This PR thus replaces `StaticKey` with the platform-specific `get` and `set` function and a new `LazyKey` type that acts as a `LazyLock<Key>`, allowing the reuse of the retreived key for multiple accesses.
    
    Related to rust-lang#110897.
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    1e39eb7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#127045 - compiler-errors:explicit, r=oli-obk

    Rename `super_predicates_of` and similar queries to `explicit_*` to note that they're not elaborated
    
    Rename:
    * `super_predicates_of` -> `explicit_super_predicates_of`
    * `implied_predicates_of` -> `explicit_implied_predicates_of`
    * `supertraits_containing_assoc_item` -> `explicit_supertraits_containing_assoc_item`
    
    This makes it clearer that, unlike (for example) [`TyCtxt::super_traits_of`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.super_traits_of), we don't automatically elaborate this set of predicates.
    
    r? ``@lcnr`` or ``@oli-obk`` or someone from t-types idc
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    e9d5a2f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#127075 - glaubitz:copy-and-paste-fix, r=Spa…

    …rrowLii
    
    rustc_data_structures: Explicitly check for 64-bit atomics support
    
    Instead of keeping a list of architectures which have native support
    for 64-bit atomics, just use #[cfg(target_has_atomic = "64")] and its
    inverted counterpart to determine whether we need to use portable
    AtomicU64 on the target architecture.
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    3369e83 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#127101 - matthiaskrgr:thonk, r=compiler-errors

    remove redundant match statement from dataflow const prop
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    c1d7ff5 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#127102 - tmandry:rename-fuchsia-builder, r=…

    …Kobzol
    
    Rename fuchsia builder and bump Fuchsia
    
    This PR renames the fuchsia builder as requested in rust-lang/rustc-dev-guide#1989 (review) and bumps Fuchsia.
    
    This includes the quality-of-life improvements for developers in https://fxrev.dev/1061894. It also removes the wasm target, which should speed up the build a little.
    
    The new name of the builder is `x86_64-fuchsia` because I think `x86_64-gnu-fuchsia` would be confusing and put too much emphasis on the host target. (In terms of triples, we are targeting `x86_64-unknown-fuchsia` from `x86_64-unknown-linux-gnu`.) Someone on the infra team should weigh in here.
    
    After this lands, we should update the docs in the rustc-dev-guide again.
    
    cc `@lqd`
    r? t-infra
    
    try-job: x86_64-fuchsia
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    367a80c View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#127103 - compiler-errors:tighten-trait-boun…

    …d-parsing, r=fmease
    
    Move binder and polarity parsing into `parse_generic_ty_bound`
    
    Let's pull out the parts of rust-lang#127054 which just:
    1. Make the parsing code less confusing
    2. Fix `?use<>` (to correctly be denied)
    3. Improve `T: for<'a> 'a` diagnostics
    
    This should have no user-facing effects on stable parsing.
    
    r? fmease
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    a4e92bf View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#127108 - onur-ozkan:bin-helper, r=Kobzol

    unify `dylib` and `bin_helpers` and create `shared_helpers::parse_value_from_args`
    
    `dylib` and `bin_helpers` were already used in similar logic. This PR unifies them under a `shared_helpers` module that is utilized by both the bootstrap library and shims. Additionally, created `parse_value_from_args` with a unit test.  This helps avoid code duplication in shims and can also be used in the bootstrap library if needed (which is the case in one of `@Kobzol's` tasks).
    
    r? `@Kobzol`
    matthiaskrgr committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    8fe7701 View commit details
    Browse the repository at this point in the history