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 89b4976 commit fccc89fCopy full SHA for fccc89f
src/sys/personality.rs
@@ -80,7 +80,10 @@ pub fn get() -> Result<Persona> {
80
///
81
/// Example:
82
83
-/// ```
+// Disable test on aarch64 until we know why it fails.
84
+// https://github.com/nix-rust/nix/issues/2060
85
+#[cfg_attr(target_arch = "aarch64", doc = " ```no_run")]
86
+#[cfg_attr(not(target_arch = "aarch64"), doc = " ```")]
87
/// # use nix::sys::personality::{self, Persona};
88
/// let mut pers = personality::get().unwrap();
89
/// assert!(!pers.contains(Persona::ADDR_NO_RANDOMIZE));
0 commit comments