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 7 pull requests #128021

Closed

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 15, 2024

  1. Configuration menu
    Copy the full SHA
    fae6037 View commit details
    Browse the repository at this point in the history
  2. Promote Mac Catalyst targets to tier 2, and ship with rustup

    - aarch64-apple-ios-macabi
    - x86_64-apple-ios-macabi
    madsmtm committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    64ec270 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

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

Commits on Jul 20, 2024

  1. Allow concat in repetitions

    c410-f3r committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    b8d4e4d View commit details
    Browse the repository at this point in the history
  2. Remove _tls_used hack

    ChrisDenton committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    af735f3 View commit details
    Browse the repository at this point in the history
  3. 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
  4. 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
  5. 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
  6. 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 20, 2024
    Configuration menu
    Copy the full SHA
    7f7ec2d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#126450 - madsmtm:promote-mac-catalyst, r=Ma…

    …rk-Simulacrum
    
    Promote Mac Catalyst targets to Tier 2, and ship with rustup
    
    Promote the Mac Catalyst targets `x86_64-apple-ios-macabi` and `aarch64-apple-ios-macabi` to Tier 2.
    
    Draft until [the MCP](rust-lang/compiler-team#761) finishes (see that for motivation).
    
    ```@rustbot``` author
    r? ```@ghost```
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    7e3d922 View commit details
    Browse the repository at this point in the history
  8. 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
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    60684d2 View commit details
    Browse the repository at this point in the history
  9. 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.
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    0392b8a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#127720 - c410-f3r:concat-rep, r=cjgillot

    [`macro_metavar_expr_concat`] Allow `concat` in repetitions
    
    cc rust-lang#127723
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    141ea5c View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#127734 - ChrisDenton:netc, r=Mark-Simulacrum

    Windows: move BSD socket shims to netc
    
    On Windows we need to alter a few types so that they can be used in the cross-platform socket code. Currently these alterations are spread throughout the `c` module with some more in the `netc` module.
    
    Let's gather all our BSD compatibility shims in the `netc` module so it's all in one place and easier to discover.
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    e6cd983 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#127839 - ehuss:safe-directory-docker, r=Mar…

    …k-Simulacrum
    
    Fix git safe-directory path for docker images
    
    This fixes the path for configuring the git safe.directory setting inside docker images. AFAIK, `~/gitconfig` without a dot is not something that git uses ([ref](https://git-scm.com/docs/git-config)). This was needed in my environment to avoid the ` fatal: detected dubious ownership in repository at '/checkout'` error. For context, this was added in rust-lang#99967.
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    9275b57 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#128005 - ChrisDenton:msvc-include, r=joboet

    Remove _tls_used hack
    
    All the MSVC targets use `target_thread_locals` (see the [base spec](https://github.com/rust-lang/rust/blob/1afc5fd042f7583b9668dd62be98325487483d1c/compiler/rustc_target/src/spec/base/windows_msvc.rs#L34)) so this hack is no longer needed. The compiler will ensure that thread locals work properly.
    compiler-errors committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    f386b17 View commit details
    Browse the repository at this point in the history