From c7da859da6f0e90ac31b0b7a4367e2df65397d03 Mon Sep 17 00:00:00 2001 From: Joshua Liebow-Feeser Date: Tue, 24 Oct 2023 04:21:26 -0700 Subject: [PATCH] DO NOT MERGE: Test with memoffset/unstable_offset_of feature Testing as part of rust-lang/rust#111839 Signed-off-by: Joshua Liebow-Feeser --- crates/virtio-queue/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/virtio-queue/Cargo.toml b/crates/virtio-queue/Cargo.toml index 92bcd2bb..39450ffc 100644 --- a/crates/virtio-queue/Cargo.toml +++ b/crates/virtio-queue/Cargo.toml @@ -21,7 +21,7 @@ virtio-bindings = { path="../virtio-bindings", version = "0.2.1" } [dev-dependencies] criterion = "0.5.1" vm-memory = { version = "0.13.1", features = ["backend-mmap", "backend-atomic"] } -memoffset = "0.9.0" +memoffset = { version = "0.9.0", features = ["unstable_offset_of"] } [[bench]] name = "main"