diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-12 19:00:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-12 19:00:44 +0100 |
| commit | 6d79df6867589ca485acdaad51a50f71400e934f (patch) | |
| tree | 67a218d69309b4019dd21e927ea451fadf6e2def /tests/codegen/async-closure-debug.rs | |
| parent | f620e4616eb26cabed16417d10965045f2c41246 (diff) | |
| parent | f7c6a2cf11eb075ea56b54c48756ee55d0b2aeb1 (diff) | |
| download | rust-6d79df6867589ca485acdaad51a50f71400e934f.tar.gz rust-6d79df6867589ca485acdaad51a50f71400e934f.zip | |
Rollup merge of #134204 - Zalathar:llvm-bool, r=SparrowLii
Fix our `llvm::Bool` typedef to be signed, to match `LLVMBool` In the LLVM-C API, boolean values are passed as `typedef int LLVMBool`, but our Rust-side typedef was using `c_uint` instead. Signed and unsigned integers have the same ABI on most platforms, but that isn't universally true, so we should prefer to be consistent with LLVM. https://github.com/rust-lang/llvm-project/blob/1268e87/llvm/include/llvm-c/Types.h#L28
Diffstat (limited to 'tests/codegen/async-closure-debug.rs')
0 files changed, 0 insertions, 0 deletions
