diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-05-11 14:09:50 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-05-11 14:38:42 +1000 |
| commit | b6300294a852f9a14ab9eb1f706d4a966aeb18ed (patch) | |
| tree | c9082b787e187de9fa1a45237a9b9c3ba0bc40b0 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | b1094f6a0a489bb1bc2be6ca17d2bec269bd9364 (diff) | |
| download | rust-b6300294a852f9a14ab9eb1f706d4a966aeb18ed.tar.gz rust-b6300294a852f9a14ab9eb1f706d4a966aeb18ed.zip | |
Make `LLVMRustInlineAsmVerify` take `*const c_uchar`
This avoids the need for an explicit `as_c_char_ptr` conversion.
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 507a29c15c8..67a66e6ec79 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2013,7 +2013,7 @@ unsafe extern "C" { pub(crate) fn LLVMRustInlineAsmVerify( Ty: &Type, - Constraints: *const c_char, + Constraints: *const c_uchar, // See "PTR_LEN_STR". ConstraintsLen: size_t, ) -> bool; |
