Skip to content

Commit c0f593f

Browse files
committed
only emit c-string literals on Rust 1.79 and later (PyO3#4352)
1 parent 17f40ca commit c0f593f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyo3-build-config/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ pub fn print_feature_cfgs() {
143143
println!("cargo:rustc-cfg=invalid_from_utf8_lint");
144144
}
145145

146-
if rustc_minor_version >= 77 {
146+
if rustc_minor_version >= 79 {
147147
println!("cargo:rustc-cfg=c_str_lit");
148148
}
149149

0 commit comments

Comments
 (0)