Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Feb 26, 2025
1 parent 087c487 commit a921ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn rustc_minor_version() -> Option<u64> {
return None;
}

let stdout = str::from_utf8(&out.stdout).ok()?;
let stdout = std::str::from_utf8(&out.stdout).ok()?;

// Assumes that the first line contains "rustc 1.xx.0-channel (abcdef 2025-01-01)"
// where "xx" is the minor version which we want to extract
Expand Down

0 comments on commit a921ba4

Please sign in to comment.