mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 01:11:01 +00:00
Fix tests
This commit is contained in:
@@ -36,6 +36,12 @@ fn main() {
|
||||
println!("cargo:rustc-cfg=integer128");
|
||||
}
|
||||
|
||||
// Inclusive ranges methods stabilized in Rust 1.27:
|
||||
// https://github.com/rust-lang/rust/pull/50758
|
||||
if minor >= 27 {
|
||||
println!("cargo:rustc-cfg=range_inclusive");
|
||||
}
|
||||
|
||||
// Non-zero integers stabilized in Rust 1.28:
|
||||
// https://github.com/rust-lang/rust/pull/50808
|
||||
if minor >= 28 {
|
||||
|
||||
Reference in New Issue
Block a user