Merge pull request #328224 from l2dy/bpf-linker-0.9.12

bpf-linker: 0.9.5 -> 0.9.12
This commit is contained in:
Nick Cao
2024-07-18 21:12:20 -04:00
committed by GitHub
2 changed files with 1241 additions and 6 deletions
File diff suppressed because it is too large Load Diff
+10 -6
View File
@@ -2,7 +2,7 @@
, stdenv
, rustPlatform
, fetchFromGitHub
, llvmPackages_15
, llvmPackages_18
, zlib
, ncurses
, libxml2
@@ -10,21 +10,25 @@
rustPlatform.buildRustPackage rec {
pname = "bpf-linker";
version = "0.9.5";
version = "0.9.12";
src = fetchFromGitHub {
owner = "aya-rs";
repo = pname;
rev = "v${version}";
hash = "sha256-LEZ2to1bzJ/H/XYytuh/7NT7+04aI8chpKIFxxVzM+4=";
hash = "sha256-HMLbNAB6Ze2x8OeAwVXMMn5P9GYK9hCa61Ic5yqblUA=";
};
cargoHash = "sha256-s8cW7lXtvgemuQueTtAywewnDVJ/WDcz8SBqsC/tO80=";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"compiletest_rs-0.10.2" = "sha256-n1OxKal1B+WNshfMgtiA5Th+FQyDalOdB4PAo6mUzwQ=";
};
};
buildNoDefaultFeatures = true;
buildFeatures = [ "system-llvm" ];
nativeBuildInputs = [ llvmPackages_15.llvm ];
nativeBuildInputs = [ llvmPackages_18.llvm ];
buildInputs = [ zlib ncurses libxml2 ];
# fails with: couldn't find crate `core` with expected target triple bpfel-unknown-none