about summary refs log tree commit diff
path: root/library/std_detect/src/detect/bit.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-08-20 00:45:57 -0400
committerGitHub <noreply@github.com>2025-08-20 00:45:57 -0400
commit9261fcf15946e62c11a1d37f77d2fa875b1e3232 (patch)
tree11ef6694ad60228c7f7771debdeb44a0f57dc7b3 /library/std_detect/src/detect/bit.rs
parent5a0c9386a25753d037d7aa0d986882fde84987d0 (diff)
parentbec399e5a05a517430abb10c3286279a7a31cb9f (diff)
downloadrust-9261fcf15946e62c11a1d37f77d2fa875b1e3232.tar.gz
rust-9261fcf15946e62c11a1d37f77d2fa875b1e3232.zip
Rollup merge of #145417 - a4lg:riscv-arch-platform-guide-ch2, r=Amanieu
std_detect: RISC-V platform guide documentation

This is practically a revert of a revert, making the commit e907456b2e10622ccd854a3bba8d02ce170b5dbb on `stdarch` come around again with minor fixes, enhancements and adjustments.

An excerpt from the original commit message follows:

Since there's no architectural feature detection on RISC-V (unlike `CPUID` on x86 architectures and some system registers on Arm/AArch64), runtime feature detection entirely depends on the platform-specific facility.

As a result, availability of each feature heavily depends on the platform and its version.

To help users make a decision for feature checking on a RISC-V system, this commit adds a platform guide with minimum supported platform versions.
Diffstat (limited to 'library/std_detect/src/detect/bit.rs')
0 files changed, 0 insertions, 0 deletions