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

Merged
merged 26 commits into from
Jul 22, 2024
Merged

Rollup of 8 pull requests #128056

merged 26 commits into from
Jul 22, 2024

Commits on Jun 30, 2024

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

Commits on Jul 6, 2024

  1. Add missing try_new_uninit_slice_in and try_new_zeroed_slice_in

    The methods for fallible slice allocation in a given allocator were missing, which was an oversight according to rust-lang/wg-allocators#130
    
    This PR adds them as `try_new_uninit_slice_in` and `try_new_zeroed_slice_in`.
    
    Also adds missing punctuation to the doc comments of ` try_new_uninit_slice` and `try_new_zeroed_slice`
    AljoschaMeyer authored Jul 6, 2024
    Configuration menu
    Copy the full SHA
    2c14dd3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9bfdeb5 View commit details
    Browse the repository at this point in the history
  3. Fix doc examples

    AljoschaMeyer authored Jul 6, 2024
    Configuration menu
    Copy the full SHA
    6b5da82 View commit details
    Browse the repository at this point in the history
  4. Fix them doc examples some more

    Apologies for the many attempts, my dev loop for this consists of editing on github, committing, and then waiting for the CI failure log to yell at me.
    AljoschaMeyer authored Jul 6, 2024
    Configuration menu
    Copy the full SHA
    497ef49 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Update wasi-sdk in CI to latest release

    This commit updates the `wasi-sdk` download used by the `wasm32-wasi*`
    targets. The motivation for this commit is generally just "keep things
    up to date" and is not intended to cause any issues or differences from
    before, just a routine update.
    alexcrichton committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    5b0b4ff View commit details
    Browse the repository at this point in the history
  2. Fix two new failing tests

    The updated wasi-sdk has debuginfo by default so be sure to strip the
    debuginfo by default when testing the size of new executables.
    alexcrichton committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    006c884 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b19389 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2733494 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2192a91 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Rewrite test-float-parse in Rust

    The existing implementation uses Python to launch a set of Rust-written
    binaries. Unfortunately, this is currently broken; it seems that some
    updates meant it no longer compiles.
    
    There is also a problem that support for more float types (`f16`,
    `f128`) would be difficult to add since this is very specialized to
    `f32` and `f64`.
    
    Because of these sortcomings, migrate to a version written in Rust. This
    version should be significantly faster; test generators can execute in
    parallel, and test cases are chunked and parallelized. This should also
    resolve the preexisting "... the worker processes are leaked and stick
    around forever" comment.
    
    This change also introduces genericism over float types and properties,
    meaning it will be much easier to extend support to newly added types.
    
    `num::BigRational` is used in place of Python's fractions for
    infinite-precision calculations.
    tgross35 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    59429e6 View commit details
    Browse the repository at this point in the history
  2. Move test-float-parse to the global workspace

    Since `test-float-parse` is now implemented in Rust, we can move it into
    the global workspace and check dependency licenses.
    tgross35 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    51827ce View commit details
    Browse the repository at this point in the history
  3. Expose test-float-parse via bootstrap

    With updates to `test-float-parse`, it is now possible to run as another
    Rust tool. Enable check, clippy, and test.
    
    Test runs the unit tests, as well as shorter parsing tests (takes
    approximately 1 minute).
    tgross35 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    6062059 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Add test

    tiif committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    95f0916 View commit details
    Browse the repository at this point in the history
  2. Run test-float-parse as part of CI

    With the previous improvements, it is now possible to run float parsing
    tests as part of CI. Enable it here.
    
    This only runs a subset of tests, which takes about one minute.
    tgross35 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d123878 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Fix warnings when checking armv6k-nintendo-3ds

    Also fix one instance of unsafe_op_in_unsafe_fn that's specific to
    horizon + vita - most others should be common with other code.
    ian-h-chamberlain committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    dba6b74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    351fe27 View commit details
    Browse the repository at this point in the history
  3. mw out of office

    michaelwoerister committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    ab71870 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#127177 - bjorn3:arm64_macos_cg_clif, r=Mark…

    …-Simulacrum
    
    Distribute rustc_codegen_cranelift for arm64 macOS
    
    Support for arm64 macOS has been added to rustc_codegen_cranelift recently.
    
    Fixes rust-lang/rustc_codegen_cranelift#1502
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    b66b402 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#127415 - AljoschaMeyer:master, r=dtolnay

    Add missing try_new_uninit_slice_in and try_new_zeroed_slice_in
    
    The methods for fallible slice allocation in a given allocator were missing from `Box`, which was an oversight according to rust-lang/wg-allocators#130
    
    This PR adds them as `try_new_uninit_slice_in` and `try_new_zeroed_slice_in`. I simply copy-pasted the implementations of `try_new_uninit_slice` and `try_new_zeroed_slice` and adusted doc comment, typings, and the allocator it uses internally.
    
    Also adds missing punctuation to the doc comments of `try_new_uninit_slice` and `try_new_zeroed_slice`.
    
    Related issue is rust-lang#32838 (Allocator traits and std::heap) *I think*. Also relevant is rust-lang#63291, but I did not add the corresponding `#[unstable]` proc macro, since `try_new_uninit_slice` and `try_new_zeroed_slice` are also not annotated with it.
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    9f4039f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#127510 - tgross35:test-float-parse-update, …

    …r=Mark-Simulacrum
    
    Rewrite `test-float-parse` in Rust
    
    Migrate from the currently broken Rust + Python `test-float-parse` to a Rust implementation. This newer version should be significantly faster (tests execute in parallel with threads, rather than series across multiple processes, which also eliminates the "...the worker processes are leaked and stick around forever" message), and should be significantly easier to extend to the new float types.
    
    Since this is faster and hopefully more stable, we should be able to launch it with `x` and run the faster tests in CI.
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    27550f4 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#127977 - alexcrichton:update-wasi-sdk, r=Ma…

    …rk-Simulacrum
    
    Update wasi-sdk in CI to latest release
    
    This commit updates the `wasi-sdk` download used by the `wasm32-wasi*` targets. The motivation for this commit is generally just "keep things up to date" and is not intended to cause any issues or differences from before, just a routine update.
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c896139 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#127985 - Oneirical:testibule-of-hell, r=Kobzol

    Migrate `test-benches`, `c-unwind-abi-catch-panic` and `compiler-lookup-paths-2` `run-make` tests to rmake
    
    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).
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    5b915ab View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#127996 - ian-h-chamberlain:fix/horizon-warn…

    …ings-unsafe-in-unsafe, r=tgross35
    
    Clean up warnings + `unsafe_op_in_unsafe_fn` when building std for armv6k-nintendo-3ds
    
    See rust-lang#127747
    
    ping `@AzureMarker` `@Meziu`
    
    I could only find one instance needing an extra `unsafe` that was not also shared with many other `unix` targets (presumably these will get covered in larger sweeping changes, I didn't want to introduce churn that would potentially conflict with those). The one codepath I found is shared with `vita` however, so also pinging `@nikarh` `@pheki` `@zetanumbers` just to make sure they're aware of this change.
    
    Also removed one unused import from `process_unsupported` which should simply fix the warning for any target that uses it.
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    7d81e09 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f4d6d99 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#128054 - michaelwoerister:mwoff072024, r=ji…

    …eyouxu
    
    mw triagebot vacation
    
    I'll be away from computers for a couple of weeks.
    jieyouxu authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c4c0ca4 View commit details
    Browse the repository at this point in the history