about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-05-10 21:09:16 +1000
committerZalathar <Zalathar@users.noreply.github.com>2025-05-11 14:26:14 +1000
commit8764ecd0c14f9f3f083b84de893ab8e6f71100bc (patch)
treee6a9657400a4820d053017ede6ec9b0b77d83d01 /compiler/rustc_codegen_llvm/src/asm.rs
parent7b84c9e9ca4b9c68c888b77762c31e180ee7af45 (diff)
downloadrust-8764ecd0c14f9f3f083b84de893ab8e6f71100bc.tar.gz
rust-8764ecd0c14f9f3f083b84de893ab8e6f71100bc.zip
Add a searchable tag `PTR_LEN_STR` to explain `*const c_uchar` bindings
This module comment describes why it's OK for LLVM bindings to declare a
parameter type of `*const c_uchar` for pointer/length strings, even though the
corresponding parameter on the C/C++ side uses `const char *`.

Adding a searchable term to each such parameter should make it easier for
future maintainers to understand why `*const c_uchar` is being used instead of
`*const c_char`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions