We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 229b8e2 commit aa466c0Copy full SHA for aa466c0
libcryptsetup-rs-sys/build.rs
@@ -9,11 +9,7 @@ fn probe() -> Library {
9
let mut config = Config::new();
10
#[cfg(feature = "static")]
11
config.statik(true);
12
- match config
13
- .atleast_version("2.2.0")
14
- .cargo_metadata(false)
15
- .probe("libcryptsetup")
16
- {
+ match config.atleast_version("2.2.0").probe("libcryptsetup") {
17
Ok(l) => l,
18
Err(e) => panic!("Bindings require at least cryptsetup-2.2.0: {e}"),
19
}
0 commit comments