Skip to content

Commit ed73045

Browse files
Samuel OrtizSebastien Boeuf
Samuel Ortiz
authored and
Sebastien Boeuf
committed
x86: Derive serde traits for kvm_fpu
Signed-off-by: Samuel Ortiz <[email protected]>
1 parent 1d55bd1 commit ed73045

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/x86/bindings_v4_20_0.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1952,6 +1952,7 @@ fn bindgen_test_layout_kvm_sregs() {
19521952
}
19531953
#[repr(C)]
19541954
#[derive(Debug, Default, Copy, Clone, PartialEq)]
1955+
#[cfg_attr(feature = "with-serde", derive(Deserialize, Serialize))]
19551956
pub struct kvm_fpu {
19561957
pub fpr: [[__u8; 16usize]; 8usize],
19571958
pub fcw: __u16,

0 commit comments

Comments
 (0)