patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 3bf339d320fe7c3d7db072357527949979941ef3 911 bytes (raw)
name: pkgs/applications/virtualization/cloud-hypervisor/0002-virtio-bindings-remove-workaround-for-old-bindgen.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
From f29e97e490efac68d3d8c92a50716fb2db76e7df Mon Sep 17 00:00:00 2001
From: Alyssa Ross <alyssa.ross@unikie.com>
Date: Wed, 31 Aug 2022 16:37:13 +0000
Subject: [PATCH 2/5] virtio-bindings: remove workaround for old bindgen

The linked issue was fixed in bindgen 0.60.0.

Signed-off-by: Alyssa Ross <alyssa.ross@unikie.com>
---
 crates/virtio-bindings/src/lib.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/crates/virtio-bindings/src/lib.rs b/crates/virtio-bindings/src/lib.rs
index 257ebfc..9702f17 100644
--- a/crates/virtio-bindings/src/lib.rs
+++ b/crates/virtio-bindings/src/lib.rs
@@ -5,8 +5,6 @@
 #![allow(non_upper_case_globals)]
 #![allow(non_camel_case_types)]
 #![allow(non_snake_case)]
-// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
-#![cfg_attr(test, allow(deref_nullptr, unaligned_references))]
 
 pub mod virtio_blk;
 pub mod virtio_net;
-- 
2.37.1


debug log:

solving 3bf339d320f ...
found 3bf339d320f in https://inbox.spectrum-os.org/spectrum-devel/20220930210906.1696349-8-alyssa.ross@unikie.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20220928170128.1583791-8-alyssa.ross@unikie.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20220930210906.1696349-8-alyssa.ross@unikie.com/
diff --git a/pkgs/applications/virtualization/cloud-hypervisor/0002-virtio-bindings-remove-workaround-for-old-bindgen.patch b/pkgs/applications/virtualization/cloud-hypervisor/0002-virtio-bindings-remove-workaround-for-old-bindgen.patch
new file mode 100644
index 00000000000..3bf339d320f

1:29: trailing whitespace.
 
1:32: trailing whitespace.
-- 
Checking patch pkgs/applications/virtualization/cloud-hypervisor/0002-virtio-bindings-remove-workaround-for-old-bindgen.patch...
1:34: new blank line at EOF.
+
Applied patch pkgs/applications/virtualization/cloud-hypervisor/0002-virtio-bindings-remove-workaround-for-old-bindgen.patch cleanly.
warning: 3 lines add whitespace errors.

skipping https://inbox.spectrum-os.org/spectrum-devel/20220928170128.1583791-8-alyssa.ross@unikie.com/ for 3bf339d320f
index at:
100644 3bf339d320fe7c3d7db072357527949979941ef3	pkgs/applications/virtualization/cloud-hypervisor/0002-virtio-bindings-remove-workaround-for-old-bindgen.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).