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

Closed
wants to merge 12 commits into from

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    3b2436c View commit details
    Browse the repository at this point in the history
  2. add codegen test

    The test confirms that when val < base, we do not divide or multiply.
    tspiteri committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    245cc23 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. cargo update

         Locking 15 packages to latest compatible versions
        Updating cc v1.0.97 -> v1.0.98
        Updating crc32fast v1.4.0 -> v1.4.2
        Updating crossbeam-channel v0.5.12 -> v0.5.13
        Updating crossbeam-utils v0.8.19 -> v0.8.20
        Updating getrandom v0.2.14 -> v0.2.15
        Updating libz-sys v1.1.16 -> v1.1.18
        Updating nu-ansi-term v0.49.0 -> v0.50.0
        Updating parking_lot v0.12.2 -> v0.12.3
        Updating proc-macro2 v1.0.82 -> v1.0.84
        Updating r-efi v4.4.0 -> v4.5.0
        Updating serde v1.0.202 -> v1.0.203
        Updating serde_derive v1.0.202 -> v1.0.203
        Updating spanned v0.2.0 -> v0.2.1
        Updating syn v2.0.64 -> v2.0.66
        Updating tracing-tree v0.3.0 -> v0.3.1
    note: pass `--verbose` to see 80 unchanged dependencies behind latest
    github-actions committed May 26, 2024
    Configuration menu
    Copy the full SHA
    0999039 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Refactor --print=check-cfg test

    Urgau committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a7e7848 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. include missing submodule on bootstrap

    As of rust-lang#125408 PR,
    rustbook now relies on dependencies from the "src/doc/book" submodule.
    
    However, bootstrap does not automatically sync this submodule before reading
    metadata informations. And if the submodule is not present, reading
    metadata will fail because rustbook's dependencies will be missing.
    
    This change makes "src/doc/book" to be fetched/synced automatically
    before trying to read metadata.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    5cdec65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee47480 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5afdda1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#124294 - tspiteri:ilog-first-iter, r=the8472

    Unroll first iteration of checked_ilog loop
    
    This follows the optimization of rust-lang#115913. As shown in rust-lang#115913 (comment), the performance was improved in all important cases, but some regressions were introduced for the benchmarks `u32_log_random_small`, `u8_log_random` and `u8_log_random_small`.
    
    Basically, rust-lang#115913 changed the implementation from one division per iteration to one multiplication per iteration plus one division. When there are zero iterations, this is a regression from zero divisions to one division.
    
    This PR avoids this by avoiding the division if we need zero iterations by returning `Some(0)` early. It also reduces the number of multiplications by one in all other cases.
    matthiaskrgr authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    611a92e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#125562 - rust-lang:cargo_update, r=Mark-Sim…

    …ulacrum
    
    Weekly `cargo update`
    
    Automation to keep dependencies in `Cargo.lock` current.
    
    The following is the output from `cargo update`:
    
    ```txt
         Locking 15 packages to latest compatible versions
        Updating cc v1.0.97 -> v1.0.98
        Updating crc32fast v1.4.0 -> v1.4.2
        Updating crossbeam-channel v0.5.12 -> v0.5.13
        Updating crossbeam-utils v0.8.19 -> v0.8.20
        Updating getrandom v0.2.14 -> v0.2.15
        Updating libz-sys v1.1.16 -> v1.1.18
        Updating nu-ansi-term v0.49.0 -> v0.50.0
        Updating parking_lot v0.12.2 -> v0.12.3
        Updating proc-macro2 v1.0.82 -> v1.0.84
        Updating r-efi v4.4.0 -> v4.5.0
        Updating serde v1.0.202 -> v1.0.203
        Updating serde_derive v1.0.202 -> v1.0.203
        Updating spanned v0.2.0 -> v0.2.1
        Updating syn v2.0.64 -> v2.0.66
        Updating tracing-tree v0.3.0 -> v0.3.1
    note: pass `--verbose` to see 80 unchanged dependencies behind latest
    ```
    matthiaskrgr authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    5ca112e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#125775 - compiler-errors:uplift-closure-arg…

    …s, r=lcnr
    
    Uplift `{Closure,Coroutine,CoroutineClosure}Args` and friends to `rustc_type_ir`
    
    Part of converting the new solver's `structural_traits.rs` to be interner-agnostic.
    
    I decided against aliasing `ClosureArgs<TyCtxt<'tcx>>` to `ClosureArgs<'tcx>` because it seemed so rare. I could do so if desired, though.
    
    r? lcnr
    matthiaskrgr authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    cd15ad9 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#125822 - Urgau:print-check-cfg-refactor-tes…

    …t, r=jieyouxu
    
    Refactor `--print=check-cfg` test
    
    *as asked in rust-lang#125818 (comment)
    
    r? `````@jieyouxu`````
    matthiaskrgr authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    3b39c5d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#125856 - onur-ozkan:bootstrap-submodule-hot…

    …fix, r=onur-ozkan
    
    include missing submodule on bootstrap
    
    As of rust-lang#125408 PR, rustbook now relies on dependencies from the "src/doc/book" submodule.
    
    However, bootstrap does not automatically sync this submodule before reading metadata informations. And if the submodule is not present, reading metadata will fail because rustbook's dependencies will be missing.
    
    This change makes "src/doc/book" to be fetched/synced automatically before trying to read metadata.
    
    cc ``@Zalathar``
    matthiaskrgr authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    fc24b19 View commit details
    Browse the repository at this point in the history