diff options
| author | Dillon Amburgey <dillona@dillona.com> | 2025-07-08 06:17:03 -0500 |
|---|---|---|
| committer | Dillon Amburgey <dillona@dillona.com> | 2025-07-08 06:24:19 -0500 |
| commit | 045557797431bfff807145341efbe8f8fb08817e (patch) | |
| tree | 6de33e29d8b276e432694f7650e99a8bcaa1291f /compiler/rustc_codegen_llvm/src | |
| parent | 45b80ac21a454d343833aad763ef604510c88375 (diff) | |
| download | rust-045557797431bfff807145341efbe8f8fb08817e.tar.gz rust-045557797431bfff807145341efbe8f8fb08817e.zip | |
fix: correct parameter names in LLVMRustBuildMinNum and LLVMRustBuildMaxNum FFI declarations
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 91ada856d59..b9dd10ff014 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1980,12 +1980,12 @@ unsafe extern "C" { pub(crate) fn LLVMRustBuildMinNum<'a>( B: &Builder<'a>, LHS: &'a Value, - LHS: &'a Value, + RHS: &'a Value, ) -> &'a Value; pub(crate) fn LLVMRustBuildMaxNum<'a>( B: &Builder<'a>, LHS: &'a Value, - LHS: &'a Value, + RHS: &'a Value, ) -> &'a Value; // Atomic Operations |
