Skip to content

Commit c6957f3

Browse files
committed
wip
1 parent 3f7f4ea commit c6957f3

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
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

ci/tsan

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ race:crossbeam_epoch
88
# forgotten and the steal operation is then retried.
99
race:crossbeam_deque*push
1010
race: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

crossbeam-channel/tests/tick.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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]
131132
fn 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]
255257
fn ready() {
256258
const THREADS: usize = 4;

crossbeam-epoch/src/collector.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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;

crossbeam-epoch/src/internal.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]
378379
fn local_size() {
379380
assert_eq!(2040, core::mem::size_of::<Local>());

0 commit comments

Comments
 (0)