Skip to content

Commit

Permalink
Add link to core CStr stabilization announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 11, 2023
1 parent f4dcc5c commit 7e9826e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serde/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 7e9826e

Please sign in to comment.