Skip to content

Commit

Permalink
Document RVV_OFF environment variable in rvv-off comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Sep 22, 2024
1 parent 377b942 commit a8c813e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Cargo-zng.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a8c813e

Please sign in to comment.