Update build.rs

Co-authored-by: David Tolnay <dtolnay@gmail.com>
This commit is contained in:
Dean Karn 2021-11-12 18:49:45 -08:00 committed by GitHub
parent 68d3b45c97
commit 9e36f611db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ fn main() {
}
// BTreeMap::retain
// https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html#library-changes
// https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html#stabilized-apis
if minor < 53 {
println!("cargo:rustc-cfg=no_btreemap_retain");
}