Skip to content

Conversation

@wmmc88
Copy link
Collaborator

@wmmc88 wmmc88 commented Feb 5, 2025

This pull request introduces support for generating Rust bindings for Storage-related APIs. The changes span multiple files, adding the necessary configurations, headers, and bindings to enable the use of Storage APIs.

Key changes include:

New API Subset for Storage Drivers

  • Added Storage to the ApiSubset enum in crates/wdk-build/src/lib.rs and implemented the corresponding logic to include Storage headers based on the driver configuration. [1] [2]

Configuration and Feature Updates

  • Updated Cargo.toml files to include the new storage feature and dependencies for wdk-sys. [1] [2] [3] [4]

Bindings Generation

  • Added functions to generate bindings for Storage APIs in crates/wdk-sys/build.rs, including handling conditional compilation based on the storage feature. [1] [2] [3] [4]

Module and Bindings Implementation

  • Introduced a new storage module in crates/wdk-sys/src/lib.rs and implemented the bindings in crates/wdk-sys/src/storage.rs. [1] [2]

@wmmc88 wmmc88 requested review from a team, ankurung and Copilot February 5, 2025 00:22
@wmmc88 wmmc88 self-assigned this Feb 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • crates/wdk-sys/src/storage.rs: Evaluated as low risk
  • examples/sample-kmdf-driver/Cargo.toml: Evaluated as low risk
  • examples/sample-umdf-driver/Cargo.toml: Evaluated as low risk

@wmmc88 wmmc88 added this pull request to the merge queue Feb 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2025
@wmmc88 wmmc88 added this pull request to the merge queue Feb 6, 2025
Merged via the queue into microsoft:main with commit 8696928 Feb 6, 2025
62 checks passed
@wmmc88 wmmc88 deleted the storage branch February 6, 2025 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants