Skip to content

Commit e54bb58

Browse files
Update windows requirement from 0.44 to 0.46 (#158)
* Update windows requirement from 0.44 to 0.46 Updates the requirements on [windows](https://github.com/microsoft/windows-rs) to permit the latest version. - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](microsoft/windows-rs@0.44.0...0.46.0) --- updated-dependencies: - dependency-name: windows dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Use `windows::core::ComInterface` instead of `Interface` for `cast()` --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marijn Suijten <[email protected]>
1 parent 5ff4300 commit e54bb58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ imgui = { version = "0.10", features = ["tables-api"], optional = true }
3333
winapi = { version = "0.3.9", features = ["d3d12", "winerror", "impl-default", "impl-debug"], optional = true }
3434

3535
[target.'cfg(windows)'.dependencies.windows]
36-
version = "0.44"
36+
version = "0.46"
3737
features = [
3838
"Win32_Foundation",
3939
"Win32_Graphics",
@@ -56,7 +56,7 @@ env_logger = "0.10"
5656
winapi = { version = "0.3.9", features = ["d3d12", "d3d12sdklayers", "dxgi1_6", "winerror", "impl-default", "impl-debug", "winuser", "windowsx", "libloaderapi"] }
5757

5858
[target.'cfg(windows)'.dev-dependencies.windows]
59-
version = "0.44"
59+
version = "0.46"
6060
features = [
6161
"Win32_Foundation",
6262
"Win32_Graphics",

examples/d3d12-buffer-winrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use gpu_allocator::d3d12::{
44
};
55
use gpu_allocator::MemoryLocation;
66
use log::*;
7-
use windows::core::{Interface, Result};
7+
use windows::core::{ComInterface, Result};
88
use windows::Win32::{
99
Foundation::E_NOINTERFACE,
1010
Graphics::{

0 commit comments

Comments
 (0)