File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ pub fn get() -> Result<Persona> {
7878///
7979/// Example:
8080///
81- // Disable test on aarch64 until we know why it fails .
81+ // Disable test on aarch64 and with QEMU. seccomp interference is suspected .
8282// https://github.com/nix-rust/nix/issues/2060
83- #[ cfg_attr( target_arch = "aarch64" , doc = " ```no_run" ) ]
84- #[ cfg_attr( not( target_arch = "aarch64" ) , doc = " ```" ) ]
83+ #[ cfg_attr( any ( qemu , target_arch = "aarch64" ) , doc = " ```no_run" ) ]
84+ #[ cfg_attr( not( any ( qemu , target_arch = "aarch64" ) ) , doc = " ```" ) ]
8585/// # use nix::sys::personality::{self, Persona};
8686/// let mut pers = personality::get().unwrap();
8787/// assert!(!pers.contains(Persona::ADDR_NO_RANDOMIZE));
You can’t perform that action at this time.
0 commit comments