Skip to content

Commit a8c813e

Browse files
committed
Document RVV_OFF environment variable in rvv-off comments
1 parent 377b942 commit a8c813e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Cargo-zng.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ cmake = "0.1.50"
4343
# targets, and currently only has an effect when `cmake` is used. It builds
4444
# binaries portable to machines without RVV, even if the build machine is
4545
# riscv64 and detected to support RVV. This is useful for building a more
46-
# portable binary, or on systems where auto-detection is incorrect
47-
# (as in https://github.com/zlib-ng/zlib-ng/issues/1705).
46+
# portable binary, or on systems where auto-detection is incorrect (as in
47+
# https://github.com/zlib-ng/zlib-ng/issues/1705). Building with the `RVV_OFF`
48+
# environment variable set (to any value) is equivalent to this feature.
4849
rvv-off = []
4950

5051
[lints.rust]

Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ stock-zlib = []
9393
# targets, and currently only has an effect when `cmake` is used. It builds
9494
# binaries portable to machines without RVV, even if the build machine is
9595
# riscv64 and detected to support RVV. This is useful for building a more
96-
# portable binary, or on systems where auto-detection is incorrect
97-
# (as in https://github.com/zlib-ng/zlib-ng/issues/1705).
96+
# portable binary, or on systems where auto-detection is incorrect (as in
97+
# https://github.com/zlib-ng/zlib-ng/issues/1705). Building with the `RVV_OFF`
98+
# environment variable set (to any value) is equivalent to this feature.
9899
rvv-off = []
99100
# Deprecated: the assembly routines are outdated, and either reduce performance
100101
# or cause segfaults.

0 commit comments

Comments
 (0)