diff options
| author | bors <bors@rust-lang.org> | 2022-09-09 23:06:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-09 23:06:40 +0000 |
| commit | 395e56f39849defec8d6941f76625d286a6e5ddc (patch) | |
| tree | 8b8aa68d407f03734ed5618934a743e2151381cd /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 1d37ed661a6922e7a167609b8cd7eb31e972b19b (diff) | |
| parent | 07a9c10fe6d67cbd3d33a17002e9b41310e6c3a0 (diff) | |
| download | rust-395e56f39849defec8d6941f76625d286a6e5ddc.tar.gz rust-395e56f39849defec8d6941f76625d286a6e5ddc.zip | |
Auto merge of #101617 - Dylan-DPC:rollup-iiy4ipc, r=Dylan-DPC
Rollup of 5 pull requests Successful merges: - #101366 (Restore old behaviour on broken UNC paths) - #101492 (Suggest adding array lengths to references to arrays if possible) - #101529 (Fix the example code and doctest for Formatter::sign_plus) - #101573 (update `ParamKindOrd`) - #101612 (Fix code generation of `Rvalue::Repeat` with 128 bit values) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 172684414fc..ce27dc5a5d1 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1096,7 +1096,7 @@ extern "C" { pub fn LLVMConstInt(IntTy: &Type, N: c_ulonglong, SignExtend: Bool) -> &Value; pub fn LLVMConstIntOfArbitraryPrecision(IntTy: &Type, Wn: c_uint, Ws: *const u64) -> &Value; pub fn LLVMConstReal(RealTy: &Type, N: f64) -> &Value; - pub fn LLVMConstIntGetZExtValue(ConstantVal: &ConstantInt) -> c_ulonglong; + pub fn LLVMRustConstIntGetZExtValue(ConstantVal: &ConstantInt, Value: &mut u64) -> bool; pub fn LLVMRustConstInt128Get( ConstantVal: &ConstantInt, SExt: bool, |
