diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-12-12 20:54:33 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-12-12 20:54:33 +1100 |
| commit | f7c6a2cf11eb075ea56b54c48756ee55d0b2aeb1 (patch) | |
| tree | f1789e082eaada769880e839e72a2cf34e3f4698 /tests/codegen/async-closure-debug.rs | |
| parent | 903d2976fdb6ceeb65526b7555d8d1e6f8c02134 (diff) | |
| download | rust-f7c6a2cf11eb075ea56b54c48756ee55d0b2aeb1.tar.gz rust-f7c6a2cf11eb075ea56b54c48756ee55d0b2aeb1.zip | |
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.
Diffstat (limited to 'tests/codegen/async-closure-debug.rs')
0 files changed, 0 insertions, 0 deletions
