Skip to content

Commit 11af42d

Browse files
author
Sebastien Boeuf
authored
Merge pull request #1 from michael2012z/ch
Fix the build error with "with-serde" feature in CH branch (on AArch64)
2 parents 3a67800 + 6453253 commit 11af42d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/arm64/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4+
#[cfg(feature = "with-serde")]
5+
use serde_derive::{Deserialize, Serialize};
6+
47
// Export 4.14 bindings when the feature kvm-v4_20_0 is not specified.
58
#[cfg(all(feature = "kvm-v4_14_0", not(feature = "kvm-v4_20_0")))]
69
#[allow(clippy::all)]

0 commit comments

Comments
 (0)