File tree Expand file tree Collapse file tree 5 files changed +11
-3
lines changed
Expand file tree Collapse file tree 5 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2525 env :
2626 RUST_VERSION : ${{ matrix.rust }}
2727 strategy :
28+ fail-fast : false
2829 matrix :
2930 crates :
3031 - crossbeam
@@ -35,11 +36,11 @@ jobs:
3536 - crossbeam-skiplist
3637 - crossbeam-utils
3738 rust :
38- - 1.36.0
39+ # - 1.36.0
3940 - nightly
4041 os :
41- - ubuntu-latest
42- - windows-latest
42+ - ubuntu-latest
43+ # - windows-latest
4344 runs-on : ${{ matrix.os }}
4445 steps :
4546 - uses : actions/checkout@master
Original file line number Diff line number Diff line change @@ -8,3 +8,6 @@ race:crossbeam_epoch
88# forgotten and the steal operation is then retried.
99race:crossbeam_deque*push
1010race:crossbeam_deque*steal
11+
12+ # AtomicCell::compare_exchange uses fences if it is not lock-free.
13+ race:crossbeam_utils::atomic::atomic_cell::AtomicCell<T>::compare_exchange
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ fn recv() {
127127 assert_eq ! ( r. try_recv( ) , Err ( TryRecvError :: Empty ) ) ;
128128}
129129
130+ #[ cfg( not( feature = "sanitize" ) ) ]
130131#[ test]
131132fn recv_timeout ( ) {
132133 let start = Instant :: now ( ) ;
@@ -251,6 +252,7 @@ fn select() {
251252 assert_eq ! ( hits. load( Ordering :: SeqCst ) , 8 ) ;
252253}
253254
255+ #[ cfg( not( feature = "sanitize" ) ) ]
254256#[ test]
255257fn ready ( ) {
256258 const THREADS : usize = 4 ;
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ mod tests {
199199 . unwrap ( ) ;
200200 }
201201
202+ #[ cfg( not( feature = "sanitize" ) ) ]
202203 #[ test]
203204 fn incremental ( ) {
204205 const COUNT : usize = 100_000 ;
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ pub struct Local {
374374
375375// Make sure `Local` is less than or equal to 2048 bytes.
376376// https://github.com/crossbeam-rs/crossbeam/issues/551
377+ #[ cfg( not( feature = "sanitize" ) ) ]
377378#[ test]
378379fn local_size ( ) {
379380 assert_eq ! ( 2040 , core:: mem:: size_of:: <Local >( ) ) ;
You can’t perform that action at this time.
0 commit comments