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 6 pull requests #132581

Merged
merged 27 commits into from
Nov 4, 2024
Merged

Rollup of 6 pull requests #132581

merged 27 commits into from
Nov 4, 2024

Commits on Nov 2, 2024

  1. Configuration menu
    Copy the full SHA
    e97ba53 View commit details
    Browse the repository at this point in the history
  2. Add more core stubs to minicore

    `f32`, `f64` and `asm!` macro.
    jieyouxu committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    89a1077 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5596a59 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Fix typo in tests/auxiliary/minicore.rs

    Co-authored-by: Jubilee <[email protected]>
    taiki-e and workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    a7520ad View commit details
    Browse the repository at this point in the history
  2. Move tests/ui/abi/riscv32e-registers.rs to tests/ui/asm/riscv

    This also adds comments explaining the difference to bad-reg.rs.
    taiki-e committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    b07232d View commit details
    Browse the repository at this point in the history
  3. Call the target libdir target libdir

    Because it's the target libdir.
    
    `--print` uses the same terminology, and it's a simple way to make it
    obviously different from `$sysroot/lib`.
    Noratrieb committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    f42fb43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be3a635 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc1d8e7 View commit details
    Browse the repository at this point in the history
  6. Modify NonZero documentation to reference the underlying integer type

    This change updates the documentation for `NonZero` integer types to
    explicitly reference the underlying integer type each `NonZero` variant
    wraps, instead of  using a general "integer" term.
    frectonz committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    9d66cfa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b3fc11b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b895bf4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bbd18e2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89ec8c2 View commit details
    Browse the repository at this point in the history
  11. compiler: Directly use rustc_abi in metadata and middle

    Stop reexporting ReprOptions from middle::ty
    workingjubilee committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    236fe33 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    843b6e0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6c16a31 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    092135b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    586e141 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7639773 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5c953ee View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fa20473 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#126136 - Noratrieb:bootstrap-naming, r=onur…

    …-ozkan
    
    Call the target libdir target libdir
    
    Because it's the target libdir.
    
    `--print` uses the same terminology, and it's a simple way to make it obviously different from `$sysroot/lib`.
    workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    deb4ceb View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#132516 - taiki-e:asm-ui, r=workingjubilee

    Add bad-reg inline assembly ui test for RISC-V and s390x
    
    rust-lang#131341 (comment)
    
    > Btw, such unsupported registers are present in most architectures, but only aarch64/arm64ec, x86_64, and not yet merged [sparc/sparc64](https://github.com/rust-lang/rust/pull/132472/files#diff-02aebda3376c2b020265137f9ce2c387669ca5cfecd7d60494275c2387db5114) (and powerpc/powerpc64 by this PR) currently have ui tests for them.  I plan to add tests for other arches later.
    
    Starting with RISC-V and s390x, which I'm familiar with and relatively easy to check for correctness.
    
    (Relevant rustc code are supported_types/def_regs/overlapping_regs in [compiler/rustc_target/src/asm/riscv.rs](https://github.com/rust-lang/rust/blob/588a4203508ed7c76750c96b482641261630ed36/compiler/rustc_target/src/asm/riscv.rs) and [compiler/rustc_target/src/asm/s390x.rs](https://github.com/rust-lang/rust/blob/588a4203508ed7c76750c96b482641261630ed36/compiler/rustc_target/src/asm/s390x.rs).)
    
    r? workingjubilee
    
    `@rustbot` label +A-inline-assembly
    workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    6bc7be5 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#132521 - klensy:times, r=compiler-errors

    replace manual time convertions with std ones, comptime time format parsing
    
    First commit replaces few manual time conversions with std ones, second makes parsing of time format at compiletime.
    workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    3285d12 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#132560 - Urgau:tidy-license-deps, r=onur-ozkan

    Remove outdated tidy license fixmes
    
    ~~This PR re-enables license dependency checking for:~~
     - ~~the `backtrace` submodule~~
     - ~~and the `portable-simd` subtree~~
    
    ~~The `stdarch` submodule doesn't have a `Cargo.lock` yet so we can't re-enable it.~~
    
    This PR removes outdated tidy license fixmes, rust-lang#132560 (comment).
    
    r? bootstrap
    workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    cf712a2 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#132563 - frectonz:master, r=Amanieu

    Modify `NonZero` documentation to reference the underlying integer type
    
    This change updates the documentation for `NonZero` integer types to explicitly reference the underlying integer type each `NonZero` variant wraps, instead of  using a general "integer" term.
    
    **Before**
    ![image](https://github.com/user-attachments/assets/b13bda82-007b-459c-8b22-e27d79005271)
    
    **After**
    ![image](https://github.com/user-attachments/assets/1d7fadc7-dce3-4b84-9b8f-d2bb81c05eb7)
    workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    1505997 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#132574 - workingjubilee:abi-in-compiler, r=…

    …compiler-errors
    
    compiler: Directly use rustc_abi almost everywhere
    
    Use rustc_abi instead of rustc_target where applicable. This is mostly described by the following substitutions:
    ```rust
    match path_substring {
        rustc_target::spec::abi::Abi => rustc_abi::ExternAbi,
        rustc_target::abi::call => rustc_target::callconv,
        rustc_target::abi => rustc_abi,
    }
    ```
    
    A number of spot-fixes make that not quite the whole story.
    
    The main exception is in 33edc68 where I get a lot more persnickety about how things are imported, especially in `rustc_middle::ty::layout`, not just from where. This includes putting an end to a reexport of `rustc_middle::ty::ReprOptions`, for the same reason that the rest of this change is happening: reexports mostly confound things.
    
    This notably omits rustc_passes and the ast crates, as I'm still examining a question I have about how they do stability checking of `extern "Abi"` strings and if I can simplify their logic. The rustc_abi and rustc_target crates also go untouched because they will be entangled in that cleanup.
    
    r? compiler-errors
    workingjubilee authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    72df778 View commit details
    Browse the repository at this point in the history