rust/tests
bors be33e4f3d6 Auto merge of #132167 - Zalathar:llvm-wrappers, r=jieyouxu
Replace some LLVMRust wrappers with calls to the LLVM C API

This PR removes the LLVMRust wrapper functions for getting/setting linkage and visibility, and replaces them with direct calls to the corresponding functions in LLVM's C API.

To make this convenient and sound, two pieces of supporting code have also been added:
- A simple proc-macro that derives `TryFrom<u32>` for fieldless enums
- A wrapper type for C enum values returned by LLVM functions, to ensure soundness if LLVM returns an enum value we don't know about

In a few places, the use of safe wrapper functions means that an `unsafe` block is no longer needed, so the affected code has changed its indentation level.
2024-10-27 03:24:54 +00:00
..
assembly
auxiliary
codegen
codegen-units
coverage
coverage-run-rustdoc
crashes Revert "Emit error when calling/declaring functions with unavailable vectors." 2024-10-25 20:42:09 +00:00
debuginfo Auto merge of #123550 - GnomedDev:remove-initial-arc, r=Noratrieb 2024-10-24 13:35:50 +00:00
incremental
mir-opt
pretty
run-make Auto merge of #131917 - jieyouxu:rmake-clang, r=Kobzol 2024-10-25 18:33:17 +00:00
rustdoc Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Add regression test for #131893 2024-10-24 21:35:15 +02:00
ui Auto merge of #131900 - mrkajetanp:target-feature-pauth-lr, r=Amanieu 2024-10-27 00:09:49 +00:00
ui-fulldeps Auto merge of #132167 - Zalathar:llvm-wrappers, r=jieyouxu 2024-10-27 03:24:54 +00:00
COMPILER_TESTS.md