about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTsukasa OI <floss_rust@irq.a4lg.com>2025-08-15 02:34:17 +0000
committerTsukasa OI <floss_rust@irq.a4lg.com>2025-08-15 02:34:17 +0000
commitbec399e5a05a517430abb10c3286279a7a31cb9f (patch)
tree8a743d17a37c1ae48e4733041a529de6369a4605 /compiler/rustc_codegen_llvm/src
parent898aff704d6f0d00343f21d31b8b9bfac8e43007 (diff)
downloadrust-bec399e5a05a517430abb10c3286279a7a31cb9f.tar.gz
rust-bec399e5a05a517430abb10c3286279a7a31cb9f.zip
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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions