about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src/lib.rs
diff options
context:
space:
mode:
authorLuo Jia <me@luojia.cc>2021-12-08 19:41:12 +0800
committerGitHub <noreply@github.com>2021-12-08 11:41:12 +0000
commit72061cb5f5c663fe04af99531a30d708ef4c0fbb (patch)
tree7b5746d8b440f70ff1fea367cd4e403e8b37ab9f /library/stdarch/crates/std_detect/src/lib.rs
parent3d0bdfeeb1f2e549166d31e58ef6c9ef550eb91e (diff)
downloadrust-72061cb5f5c663fe04af99531a30d708ef4c0fbb.tar.gz
rust-72061cb5f5c663fe04af99531a30d708ef4c0fbb.zip
RISC-V feature and detect macro (#1263)
Diffstat (limited to 'library/stdarch/crates/std_detect/src/lib.rs')
-rw-r--r--library/stdarch/crates/std_detect/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs
index a95af4145fd..f3557515bcf 100644
--- a/library/stdarch/crates/std_detect/src/lib.rs
+++ b/library/stdarch/crates/std_detect/src/lib.rs
@@ -6,6 +6,7 @@
 //! * `x86` and `x86_64`: [`is_x86_feature_detected`]
 //! * `arm`: [`is_arm_feature_detected`]
 //! * `aarch64`: [`is_aarch64_feature_detected`]
+//! * `riscv`: [`is_riscv_feature_detected`]
 //! * `mips`: [`is_mips_feature_detected`]
 //! * `mips64`: [`is_mips64_feature_detected`]
 //! * `powerpc`: [`is_powerpc_feature_detected`]