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
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

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");
}