We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6b808 commit 488d4f6Copy full SHA for 488d4f6
zng/cmake.rs
@@ -18,8 +18,7 @@ pub fn build_zlib_ng(target: &str, compat: bool) {
18
// Check if we should pass on an explicit boolean value of the WITH_RVV build option.
19
// See: https://github.com/zlib-ng/zlib-ng?tab=readme-ov-file#advanced-build-options
20
if let Ok(value) = env::var("RISCV_WITH_RVV") {
21
- let value = value.trim().to_uppercase();
22
- match value.as_str() {
+ match value.trim().to_uppercase().as_str() {
23
"OFF" | "NO" | "FALSE" | "0" => {
24
// Force RVV off. This turns off RVV entirely, as well as the runtime check for it.
25
// This is not usually necessary, but can be useful for building binaries portable
0 commit comments