about summary refs log tree commit diff
path: root/tests/codegen/async-closure-debug.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-12 19:00:44 +0100
committerGitHub <noreply@github.com>2024-12-12 19:00:44 +0100
commit6d79df6867589ca485acdaad51a50f71400e934f (patch)
tree67a218d69309b4019dd21e927ea451fadf6e2def /tests/codegen/async-closure-debug.rs
parentf620e4616eb26cabed16417d10965045f2c41246 (diff)
parentf7c6a2cf11eb075ea56b54c48756ee55d0b2aeb1 (diff)
downloadrust-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