Skip to content

Bump windows(-core) crate range to 0.57-0.59 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ include = ["src", "LICENSE"]
anyhow = "1.0.3"
libloading = "0.8"
# Autogenerated bindings reference `::windows_core` instead of `::windows::core`
windows-core = ">=0.56, <=0.58"
windows-core = ">=0.57, <=0.59"

[dependencies.windows]
version = ">=0.56, <=0.58"
version = ">=0.57, <=0.59"
features = [
"implement",
"Win32_Foundation",
"Win32_Graphics_Direct3D12",
"Win32_Graphics_Dxgi_Common",
Expand Down
2 changes: 1 addition & 1 deletion api_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ edition = "2021"
publish = false

[dependencies]
windows-bindgen = "0.58"
windows-bindgen = "0.59"
8 changes: 3 additions & 5 deletions api_gen/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use windows_bindgen::{bindgen, Result};
use windows_bindgen::bindgen;

fn main() -> Result<()> {
let log = bindgen(["--etc", "bindings.txt"])?;
println!("{}", log);
Ok(())
fn main() {
bindgen(["--etc", "bindings.txt"])
}
6 changes: 5 additions & 1 deletion bindings.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
--in .windows/winmd/
--out src/Amd.rs
--out src/bindings.rs

--filter
Amd

--reference
windows,skip-root,ID3D12GraphicsCommandList
windows,skip-root,D3D12_GRAPHICS_PIPELINE_STATE_DESC
227 changes: 0 additions & 227 deletions src/Amd.rs

This file was deleted.

Loading
Loading