The `Linkage` enum in librustc_llvm got out of sync with the version in LLVM and it caused two variants of the #[linkage=""] attribute to break. This adds the functions `LLVMRustGetLinkage` and `LLVMRustSetLinkage` which convert between the Rust Linkage enum and the LLVM one, which should stop this from breaking every time LLVM changes it. Fixes #33992 |
||
|---|---|---|
| .. | ||
| archive_ro.rs | ||
| build.rs | ||
| Cargo.toml | ||
| diagnostic.rs | ||
| ffi.rs | ||
| lib.rs | ||