From 62c36e39069f72aa8ecef6fa1c039257269aace9 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Mon, 13 May 2024 14:50:22 +0200 Subject: [PATCH] Apply visibility to RawBuffer --- Cargo.toml | 3 ++- vulkan-rs/src/memory.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79ca8f1..9de44cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,4 +5,5 @@ members = [ "vulkan-rs", "vulkan-sys", "library_loader", -] \ No newline at end of file +] +resolver = "2" \ No newline at end of file diff --git a/vulkan-rs/src/memory.rs b/vulkan-rs/src/memory.rs index 4a31077..5a92cbe 100644 --- a/vulkan-rs/src/memory.rs +++ b/vulkan-rs/src/memory.rs @@ -12,7 +12,7 @@ impl_reprc!( #[derive(Debug, Copy)] pub struct RawBuffer { #[assume_reprc] - d: u8, + pub d: u8, } );