We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 348defc commit ef23e6dCopy full SHA for ef23e6d
hdf5-types/build.rs
@@ -4,6 +4,11 @@ fn main() {
4
if std::env::var_os("DEP_HDF5_MSVC_DLL_INDIRECTION").is_some() {
5
println!("cargo::rustc-cfg=windows_dll");
6
}
7
+
8
+ // Declare the known HDF5 versions we might feature flag on
9
+ // in this crate.
10
+ println!("cargo::rustc-check-cfg=cfg(feature, values(\"1.12.0\"))");
11
12
for (key, _) in std::env::vars() {
13
if key.starts_with("DEP_HDF5_VERSION_") {
14
let version = key.trim_start_matches("DEP_HDF5_VERSION_").replace("_", ".");
0 commit comments