We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f80b72 commit f561be3Copy full SHA for f561be3
src/imp/libc/io/types.rs
@@ -390,11 +390,7 @@ pub enum Advice {
390
#[cfg(any(target_os = "android", target_os = "linux"))]
391
LinuxHwPoison = c::MADV_HWPOISON,
392
/// `MADV_SOFT_OFFLINE`
393
- // TODO: Enable riscv once <https://github.com/rust-lang/libc/pull/2391> lands.
394
- #[cfg(all(
395
- not(target_arch = "riscv64"),
396
- any(target_os = "android", target_os = "linux")
397
- ))]
+ #[cfg(any(target_os = "android", target_os = "linux"))]
398
LinuxSoftOffline = c::MADV_SOFT_OFFLINE,
399
/// `MADV_MERGEABLE`
400
0 commit comments