Skip to content

Commit f08601f

Browse files
andrewpollackCQ Bot
authored and
CQ Bot
committed
[rust toolchain] Fix non-Copy enum cast moves
Rust upstream PR "`as` cast of non-Copy enum is no longer a move" is breaking newer rust toolchain builds. Build breaking: https://turquoise-internal-review.googlesource.com/c/integration/+/602949 Upstream PR: rust-lang/rust#103016 Change-Id: I0caba268285ccdb00dd105dec87d2b80a03d3bfb Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/742085 Reviewed-by: Ben Wright <[email protected]> Reviewed-by: Stephen Demos <[email protected]> Fuchsia-Auto-Submit: Andrew Pollack <[email protected]> Commit-Queue: Auto-Submit <[email protected]>
1 parent 66a9a8e commit f08601f

File tree

1 file changed

+1
-1
lines changed
  • src/security/kms-stateless/rust/src

1 file changed

+1
-1
lines changed

src/security/kms-stateless/rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const DERIVED_KEY_SIZE: usize = 16;
1212
const KEY_INFO_SIZE: usize = 32;
1313
const DEV_CLASS_TEE: &'static str = "/dev/class/tee/000";
1414

15-
#[derive(Debug)]
15+
#[derive(Copy, Clone, Debug)]
1616
pub enum TaKeysafeCommand {
1717
GetUserDataStorageKey = 8,
1818
RotateHardwareDerivedKey = 9,

0 commit comments

Comments
 (0)