Skip to content

Commit

Permalink
Tweak string conversion for MSRV compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Sep 22, 2024
1 parent 66df3f5 commit e1184ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zng/cmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn build_zlib_ng(target: &str, compat: bool) {
.map(OsStr::to_str)
.map(str::trim)
.map(str::to_uppercase)
.map(Into::into)
.as_deref()
{
Some("OFF" | "NO" | "FALSE" | "0") => {
// Force RVV off. This turns off RVV entirely, as well as the runtime check for it.
Expand Down

0 comments on commit e1184ab

Please sign in to comment.