Bump diagnostic_namespace rust version (#4268)
This commit is contained in:
parent
30add032b5
commit
a983b2fe7b
|
@ -141,7 +141,9 @@ pub fn print_feature_cfgs() {
|
|||
println!("cargo:rustc-cfg=invalid_from_utf8_lint");
|
||||
}
|
||||
|
||||
if rustc_minor_version >= 78 {
|
||||
// Actually this is available on 1.78, but we should avoid
|
||||
// https://github.com/rust-lang/rust/issues/124651 just in case
|
||||
if rustc_minor_version >= 79 {
|
||||
println!("cargo:rustc-cfg=diagnostic_namespace");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue