Update the minimum external LLVM to 16.

This commit is contained in:
Dario Nieuwenhuis 2023-11-15 19:58:52 +01:00
parent 2f8d81f9db
commit 7de6d04bc8
65 changed files with 42 additions and 251 deletions

View file

@ -1155,10 +1155,6 @@ pub enum StackProbeType {
}
impl StackProbeType {
// LLVM X86 targets (ix86 and x86_64) can use inline-asm stack probes starting with LLVM 16.
// Notable past issues were rust#83139 (fixed in 14) and rust#84667 (fixed in 16).
const X86: Self = Self::InlineOrCall { min_llvm_version_for_inline: (16, 0, 0) };
fn from_json(json: &Json) -> Result<Self, String> {
let object = json.as_object().ok_or_else(|| "expected a JSON object")?;
let kind = object