Link to feature announcements where available
This commit is contained in:
parent
b3ff7e43ef
commit
7351e0e55a
@ -66,7 +66,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Non-zero integers stabilized in Rust 1.28:
|
// Non-zero integers stabilized in Rust 1.28:
|
||||||
// https://github.com/rust-lang/rust/pull/50808
|
// https://blog.rust-lang.org/2018/08/02/Rust-1.28.html#library-stabilizations
|
||||||
if minor >= 28 {
|
if minor >= 28 {
|
||||||
println!("cargo:rustc-cfg=num_nonzero");
|
println!("cargo:rustc-cfg=num_nonzero");
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ fn main() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Underscore const names stabilized in Rust 1.37:
|
// Underscore const names stabilized in Rust 1.37:
|
||||||
// https://github.com/rust-lang/rust/pull/61347
|
// https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html#using-unnamed-const-items-for-macros
|
||||||
if minor >= 37 {
|
if minor >= 37 {
|
||||||
println!("cargo:rustc-cfg=underscore_consts");
|
println!("cargo:rustc-cfg=underscore_consts");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user