Skip to content

Commit 80c185b

Browse files
Enable RVV compiling
1 parent a10618a commit 80c185b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Uncomment if you want `cargo build --release` to build both by default
44
# target = ["x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl"]
55

6-
[target.'cfg(any(target_os = "freebsd", target_os = "android", target_os = "macos"))']
6+
[target.'cfg(any(target_os = "freebsd", target_os = "android", target_os = "macos", target_arch = "riscv64"))']
77
rustflags = [
88
"-C","target-cpu=native",
99
]

0 commit comments

Comments
 (0)