about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/return-specific.js
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-18 15:31:12 +1000
committerGitHub <noreply@github.com>2025-08-18 15:31:12 +1000
commitaa2dcbe583037bdd13e0f1f5bcf5933d589481a8 (patch)
treecaa06d44b4c9bff716ab22f1185cb35cdcbb9ae3 /tests/rustdoc-js-std/return-specific.js
parent3a694c7595a5a1cae6277e7a9245a6e7165b6bee (diff)
parente193b5342b170f9e3cc6e7ee3bd863652f1244a2 (diff)
downloadrust-aa2dcbe583037bdd13e0f1f5bcf5933d589481a8.tar.gz
rust-aa2dcbe583037bdd13e0f1f5bcf5933d589481a8.zip
Rollup merge of #145420 - Zalathar:llvm-c, r=WaffleLapkin
cg_llvm: Use LLVM-C bindings for `LLVMSetTailCallKind`, `LLVMGetTypeKind`

This PR replaces two existing `LLVMRust` bindings with equivalent calls to the LLVM-C API.

For `LLVMGetTypeKind`, we avoid the UB hazard by declaring the foreign function to return `RawEnum<TypeKind>` (which is a wrapper around `u32`), and then perform checked conversion from `u32` to `TypeKind`.
Diffstat (limited to 'tests/rustdoc-js-std/return-specific.js')
0 files changed, 0 insertions, 0 deletions