Skip to content

Commit

Permalink
Exclude 1.74.0.0 from xtensa vaarg supported compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Dec 4, 2023
1 parent 338f418 commit 68c92bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion esp-wifi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ fn main() -> Result<(), String> {
.next()
.unwrap();
if let Some(version) = try_read_xtensa_rustc_version(version) {
if version >= Version4(1, 73, 0, 1) {
if version >= Version4(1, 73, 0, 1)
// Patch accidentally missing from 1.74.0.0
&& version != Version4(1, 74, 0, 0)
{
println!("cargo:rustc-cfg=xtensa_has_vaarg");
}
}
Expand Down

0 comments on commit 68c92bb

Please sign in to comment.