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 4583d6d commit 3931b02Copy full SHA for 3931b02
src/sys/personality.rs
@@ -54,7 +54,8 @@ libc_bitflags! {
54
///
55
/// Example:
56
57
-/// ```
+#[cfg_attr(any(qemu, target_arch = "aarch64"), doc = " ```no_run")]
58
+#[cfg_attr(not(any(qemu, target_arch = "aarch64")), doc = " ```")]
59
/// # use nix::sys::personality::{self, Persona};
60
/// let pers = personality::get().unwrap();
61
/// assert!(!pers.contains(Persona::WHOLE_SECONDS));
0 commit comments