Skip to content

Commit

Permalink
only emit c-string literals on Rust 1.79 and later (PyO3#4352)
Browse files Browse the repository at this point in the history
  • Loading branch information
Icxolu committed Jul 15, 2024
1 parent 17f40ca commit c0f593f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-build-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub fn print_feature_cfgs() {
println!("cargo:rustc-cfg=invalid_from_utf8_lint");
}

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

Expand Down

0 comments on commit c0f593f

Please sign in to comment.