cloud-hypervisor: backport Rust 1.90+ crash fixes (#464618)

This commit is contained in:
Alyssa Ross 2025-11-24 17:17:21 +00:00 committed by GitHub
commit 8317cc5413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
rustPlatform,
pkg-config,
dtc,
@ -19,6 +20,19 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-bPPs/4XMcvOH4BGfQrjQdvgjGWae4UEZjzPKjalDN3w=";
};
patches = [
(fetchpatch {
name = "vsock-seccomp-Rust-1.90.patch";
url = "https://github.com/cloud-hypervisor/cloud-hypervisor/commit/ec57aade1563075e37b8e9ccc0b85fe2c04a54b8.patch";
hash = "sha256-M+I+ZbiNDV1a8Y46+/mPTyDlQgQS7G6ytvPgli0NhJ0=";
})
(fetchpatch {
name = "vfio-user-seccomp-Rust-1.90.patch";
url = "https://github.com/cloud-hypervisor/cloud-hypervisor/commit/95b8c6afdd6eec9810243f92ec1956dccfe305da.patch";
hash = "sha256-kCP/Fu0Dg+GdnwyFQLqZWKlbqO9w4KRJcbV4sReSDYM=";
})
];
cargoHash = "sha256-5EK9V9yiF/UjmlYSKBIJgQOA1YU33ezicLikWYnKFAo=";
separateDebugInfo = true;