Skip to content

Commit

Permalink
added doc comment for EXPORTED_CFG_SETTINGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Durrenberger committed Dec 12, 2024
1 parent dba3ef0 commit 9075140
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/wdk-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@ pub fn configure_wdk_binary_build() -> Result<(), ConfigError> {
Config::from_env_auto()?.configure_binary_build()
}

/// This currently only exports the driver type, but may export more metadata in
/// the future. `EXPORTED_CFG_SETTINGS` is a mapping of cfg key to allowed cfg
/// values
static EXPORTED_CFG_SETTINGS: LazyLock<Vec<(&'static str, Vec<&'static str>)>> =
LazyLock::new(|| vec![("DRIVER_MODEL-DRIVER_TYPE", vec!["WDM", "KMDF", "UMDF"])]);

Expand Down

0 comments on commit 9075140

Please sign in to comment.