//!
//! There are several functions and structs in this module that have a
//! counterpart ending in `os`. Those ending in `os` will return an [`OsString`]
-//! and those without will be returning a [`String`].
+//! and those without will return a [`String`].
//!
//! [`OsString`]: ../../std/ffi/struct.OsString.html
//! [`String`]: ../string/struct.String.html
/// - mips64
/// - powerpc
/// - powerpc64
+ /// - riscv64
/// - s390x
/// - sparc64
#[stable(feature = "env", since = "1.0.0")]
pub const ARCH: &'static str = "hexagon";
}
+#[cfg(target_arch = "riscv64")]
+mod arch {
+ pub const ARCH: &'static str = "riscv64";
+}
+
#[cfg(test)]
mod tests {
use super::*;