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 29c44c2 commit edee487Copy full SHA for edee487
libmimalloc-sys/sys-test/build.rs
@@ -14,7 +14,7 @@ fn main() {
14
"{cargo_manifest_dir}/../c_src/mimalloc/{version}/include"
15
))
16
.cfg("feature", Some("extended"))
17
- .cfg("feature", (version == "v3").then(|| "v3"))
+ .cfg("feature", (version == "v3").then_some("v3"))
18
.fn_cname(|rust, link_name| link_name.unwrap_or(rust).to_string())
19
// ignore whether or not the option enum is signed.
20
.skip_signededness(|c| c.ends_with("_t") || c.ends_with("_e"))
0 commit comments