Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: folkertdev/rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: const-asm-type-fix
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Jul 21, 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 authored and folkertdev committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    a44289a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7dca3d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

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