Skip to content

Commit 7e9826e

Browse files
committed
Add link to core CStr stabilization announcement
1 parent f4dcc5c commit 7e9826e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

serde/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ fn main() {
116116
}
117117

118118
// Support for core::ffi::CStr and alloc::ffi::CString stabilized in Rust 1.64.
119+
// https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html#c-compatible-ffi-types-in-core-and-alloc
119120
if minor < 64 {
120121
println!("cargo:rustc-cfg=no_core_cstr");
121122
}

0 commit comments

Comments
 (0)