Skip to content

Commit 377b942

Browse files
committed
Document that rvv-off feature is experimental and needs cmake
+ Use the exact same comment for it in both manifest files.
1 parent d76bc6d commit 377b942

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Cargo-zng.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ libc = "0.2.43"
3939
cmake = "0.1.50"
4040

4141
[features]
42-
# This feature builds riscv64 binaries portable to machines without RVV, even if the build machine
43-
# is riscv64 and detected to support RVV. This is useful for building a more portable binary, or on
44-
# systems where auto-detection is incorrect (as in https://github.com/zlib-ng/zlib-ng/issues/1705).
42+
# Experimental: This feature only affects zlib-ng, is only relevant to riscv64
43+
# targets, and currently only has an effect when `cmake` is used. It builds
44+
# binaries portable to machines without RVV, even if the build machine is
45+
# 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).
4548
rvv-off = []
4649

4750
[lints.rust]

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ zlib-ng = ["libc", "cmake"]
8989
# or be completely removed in the future
9090
zlib-ng-no-cmake-experimental-community-maintained = ["libc"]
9191
stock-zlib = []
92-
# This feature only affects zlib-ng and is only relevant to riscv64 targets. It
93-
# builds binaries portable to machines without RVV, even if the build machine
94-
# is riscv64 and detected to support RVV. This is useful for building a more
92+
# Experimental: This feature only affects zlib-ng, is only relevant to riscv64
93+
# targets, and currently only has an effect when `cmake` is used. It builds
94+
# binaries portable to machines without RVV, even if the build machine is
95+
# riscv64 and detected to support RVV. This is useful for building a more
9596
# portable binary, or on systems where auto-detection is incorrect
9697
# (as in https://github.com/zlib-ng/zlib-ng/issues/1705).
9798
rvv-off = []

0 commit comments

Comments
 (0)