diff --git a/hdf5-src/build.rs b/hdf5-src/build.rs index c847aa15..c6bcc150 100644 --- a/hdf5-src/build.rs +++ b/hdf5-src/build.rs @@ -20,6 +20,7 @@ fn main() { "HDF5_BUILD_CPP_LIB", "HDF5_BUILD_UTILS", "HDF5_ENABLE_PARALLEL", + "HDF5_ENABLE_NONSTANDARD_FEATURES", ] { cfg.define(option, "OFF"); } @@ -30,6 +31,7 @@ fn main() { "HDF5_ENABLE_THREADSAFE", "ALLOW_UNSUPPORTED", "HDF5_BUILD_HL_LIB", + "HDF5_ENABLE_NONSTANDARD_FEATURE_FLOAT16", ] { cfg.define(option, "OFF"); } diff --git a/hdf5-src/ext/hdf5 b/hdf5-src/ext/hdf5 index 8b5cac6b..57948148 160000 --- a/hdf5-src/ext/hdf5 +++ b/hdf5-src/ext/hdf5 @@ -1 +1 @@ -Subproject commit 8b5cac6bc498546efa5639f99bb7dbbc1a2d5d90 +Subproject commit 57948148dbcb275c9a39212eebc62e071b11a00d diff --git a/hdf5-sys/build.rs b/hdf5-sys/build.rs index a27c5dfa..9fd9bec7 100644 --- a/hdf5-sys/build.rs +++ b/hdf5-sys/build.rs @@ -659,7 +659,7 @@ impl Config { let mut vs: Vec<_> = (5..=21).map(|v| Version::new(1, 8, v)).collect(); // 1.8.[5-23] vs.extend((0..=8).map(|v| Version::new(1, 10, v))); // 1.10.[0-10] vs.extend((0..=2).map(|v| Version::new(1, 12, v))); // 1.12.[0-2] - vs.extend((0..=2).map(|v| Version::new(1, 14, v))); // 1.14.[0-2] + vs.extend((0..=4).map(|v| Version::new(1, 14, v))); // 1.14.[0-4] for v in vs.into_iter().filter(|&v| version >= v) { println!("cargo:rustc-cfg=feature=\"{}.{}.{}\"", v.major, v.minor, v.micro); println!("cargo:version_{}_{}_{}=1", v.major, v.minor, v.micro);