Новых версий уже полно
Жду llvm 23 для сборки bpf-linker у апстрима такая конструкция + # This is a workaround to get cardwire-ebpf building + # bpf-linker linked to llvm 22 or built with llvm 22 cannot compile the crate + # the official binstall ship a llvm 23 static linked bpf-linker, this is what is used + cargo binstall --locked --no-confirm \ + --root "${srcdir}/cardwire-tools"\ + --version 0.11.0 bpf-linker
(Ответ для Boris Yumankulov на комментарий #1) > Жду llvm 23 для сборки bpf-linker у апстрима такая конструкция > > + # This is a workaround to get cardwire-ebpf building > + # bpf-linker linked to llvm 22 or built with llvm 22 cannot compile the > crate > + # the official binstall ship a llvm 23 static linked bpf-linker, this is > what is used > + cargo binstall --locked --no-confirm \ > + --root "${srcdir}/cardwire-tools"\ > + --version 0.11.0 bpf-linker Касаемо вендоринга bpf-linker. Там есть вот такой пункт: https://github.com/aya-rs/bpf-linker/blob/main/BUILDING.md#llvm > bpf-linker is a bitcode linker that uses libLLVM to link bitcode inputs. > That means the LLVM version used by bpf-linker must match the LLVM version used by the Rust toolchain you intend to use. Текущий Rust использует LLVM 22, поэтому для линковщика на самом деле нужна 22 версия.