Add link to core CStr stabilization announcement

This commit is contained in:
David Tolnay
2023-03-11 12:57:16 -08:00
parent f4dcc5c918
commit 7e9826e17b
+1
View File
@@ -116,6 +116,7 @@ fn main() {
}
// Support for core::ffi::CStr and alloc::ffi::CString stabilized in Rust 1.64.
// https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html#c-compatible-ffi-types-in-core-and-alloc
if minor < 64 {
println!("cargo:rustc-cfg=no_core_cstr");
}