Skip to content

Commit 6453253

Browse files
committed
arm64: Fix the build error with "with-serde" feature
Signed-off-by: Michael Zhao <[email protected]>
1 parent 3a67800 commit 6453253

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)