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

Closed
wants to merge 27 commits into from
Closed

Commits on Jul 25, 2024

  1. Tweak type inference for const operands in inline asm

    Previously these would be treated like integer literals and default to
    `i32` if a type could not be determined. To allow for
    forward-compatibility with `str` constants in the future, this PR
    changes type inference to use an unbound type variable instead.
    
    The actual type checking is deferred until after typeck where we still
    ensure that the final type for the `const` operand is an integer type.
    Amanieu committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    4d74712 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    575fc72 View commit details
    Browse the repository at this point in the history
  3. apply fix suggested by lcnr

    folkertdev authored and Amanieu committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    97738e1 View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Co-authored-by: Amanieu d'Antras <[email protected]>
    folkertdev and Amanieu committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c77b569 View commit details
    Browse the repository at this point in the history
  5. rustfmt

    Amanieu committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d4ca1ac View commit details
    Browse the repository at this point in the history
  6. use ErrorGuaranteed from emit

    folkertdev authored and Amanieu committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    be66415 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    b73077e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47e6db5 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

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

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    de26ad1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a937a3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9963a6c View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    b46237b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e5341a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8c2b76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3268b2e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Enable msvc for run-make/rust-lld

    This is simply a matter of using the right argument for lld-link.
    ChrisDenton committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    1737845 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    212417b View commit details
    Browse the repository at this point in the history
  3. Update compiler-builtins to 0.1.115

    This includes [1] which means we can remove the (nonworking)
    configuration of `no-f16-f128`.
    
    Fixes rust-lang#128401.
    
    [1]: rust-lang/compiler-builtins#652
    tgross35 committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8c1b525 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#122049 - Amanieu:riscv64-musl-tier2, r=Mark…

    …-Simulacrum
    
    Promote riscv64gc-unknown-linux-musl to tier 2
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    cf0989c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#125558 - Amanieu:const-asm-type, r=lcnr

    Tweak type inference for `const` operands in inline asm
    
    Previously these would be treated like integer literals and default to `i32` if a type could not be determined. To allow for forward-compatibility with `str` constants in the future, this PR changes type inference to use an unbound type variable instead.
    
    The actual type checking is deferred until after typeck where we still ensure that the final type for the `const` operand is an integer type.
    
    <!--
    If this PR is related to an unstable feature or an otherwise tracked effort,
    please link to the relevant tracking issue here. If you don't know of a related
    tracking issue or there are none, feel free to ignore this.
    
    This PR will get automatically assigned to a reviewer. In case you would like
    a specific user to review your work, you can assign it to them by using
    
        r​? <reviewer name>
    -->
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    13b85f8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#128638 - ChrisDenton:link-dedup, r=jieyouxu

    run-make: enable msvc for `link-dedup`
    
    This is just a case of differing style of linker arguments.
    
    I also cleaned up a bit where we were running the same command three times in a row. Instead I reused the output.
    
    One thing that confused me is why we were testing for the same lib three times in a row but not two. After figuring that out I added a note to hopefully save future readers some confusion.
    
    try-job: x86_64-msvc
    try-job: i686-msvc
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    f78d783 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#128647 - ChrisDenton:link-args-order, r=jie…

    …youxu
    
    Enable msvc for link-args-order
    
    I could not see any reason in rust-lang#70665 why this test needs to specifically use `ld`. Maybe to provide a consistent linker input line? In any case, the test does work for the MSVC linker.
    
    try-job: i686-msvc
    try-job: x86_64-msvc
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    43633e8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#128649 - ChrisDenton:param-passing, r=jieyouxu

    run-make: Enable msvc for `no-duplicate-libs` and `zero-extend-abi-param-passing`
    
    The common thing between these two tests is to use `#[link(..., kind="static")]` so that it doesn't try to do a DLL import.
    
    `zero-extend-abi-param-passing` also needs to have an optimized static library but there's only helper function for a non-optimized version. Rather than copy/pasting the code (and adding the optimization flag) I reused the same code so that it more easily be kept in sync.
    
    try-job: i686-msvc
    try-job: x86_64-msvc
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e9918f8 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#128656 - ChrisDenton:rust-lld, r=lqd

    Enable msvc for run-make/rust-lld
    
    This is simply a matter of using the right argument for lld-link.
    
    As a bonus, I also fixed a typo.
    
    try-job: i686-msvc
    try-job: x86_64-msvc
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    d4d7903 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#128688 - RalfJung:custom-mir-tail-calls, r=…

    …compiler-errors
    
    custom MIR: add support for tail calls
    
    Cc `@WaffleLapkin`
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    bb3157a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#128691 - tgross35:update-builtins, r=Amanieu

    Update `compiler-builtins` to 0.1.115
    
    This includes [1] which means we can remove the (nonworking) configuration of `no-f16-f128`.
    
    Fixes rust-lang#128401.
    
    [1]: rust-lang/compiler-builtins#652
    tgross35 authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e6cdde2 View commit details
    Browse the repository at this point in the history