Sfoglia il codice sorgente

Enable test under miri

nr_cpus() is stubbed since 9e1bcd0ab87f69bcd323eef680957a534b655fac.
Tamir Duberstein 1 mese fa
parent
commit
935ba20224
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      aya/src/maps/mod.rs

+ 0 - 1
aya/src/maps/mod.rs

@@ -1083,7 +1083,6 @@ mod tests {
     }
 
     #[test]
-    #[cfg_attr(miri, ignore = "nr_cpus() opens a file on procfs that upsets miri")]
     fn test_create_perf_event_array() {
         override_syscall(|call| match call {
             Syscall::Ebpf {