From a8c813e5c770403d40fc9b728853a67a75b1489e Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Sun, 8 Sep 2024 07:30:29 -0400 Subject: [PATCH] Document `RVV_OFF` environment variable in `rvv-off` comments --- Cargo-zng.toml | 5 +++-- Cargo.toml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo-zng.toml b/Cargo-zng.toml index 72b8bad..a46a5e4 100644 --- a/Cargo-zng.toml +++ b/Cargo-zng.toml @@ -43,8 +43,9 @@ cmake = "0.1.50" # targets, and currently only has an effect when `cmake` is used. It builds # binaries portable to machines without RVV, even if the build machine is # riscv64 and detected to support RVV. This is useful for building a more -# portable binary, or on systems where auto-detection is incorrect -# (as in https://github.com/zlib-ng/zlib-ng/issues/1705). +# portable binary, or on systems where auto-detection is incorrect (as in +# https://github.com/zlib-ng/zlib-ng/issues/1705). Building with the `RVV_OFF` +# environment variable set (to any value) is equivalent to this feature. rvv-off = [] [lints.rust] diff --git a/Cargo.toml b/Cargo.toml index 25a1711..351713d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -93,8 +93,9 @@ stock-zlib = [] # targets, and currently only has an effect when `cmake` is used. It builds # binaries portable to machines without RVV, even if the build machine is # riscv64 and detected to support RVV. This is useful for building a more -# portable binary, or on systems where auto-detection is incorrect -# (as in https://github.com/zlib-ng/zlib-ng/issues/1705). +# portable binary, or on systems where auto-detection is incorrect (as in +# https://github.com/zlib-ng/zlib-ng/issues/1705). Building with the `RVV_OFF` +# environment variable set (to any value) is equivalent to this feature. rvv-off = [] # Deprecated: the assembly routines are outdated, and either reduce performance # or cause segfaults.