Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Nov 3, 2020
1 parent 977bb2f commit dbdd891
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -35,11 +35,11 @@ jobs:
- crossbeam-skiplist
- crossbeam-utils
rust:
- 1.36.0
# - 1.36.0
- nightly
os:
- ubuntu-latest
- windows-latest
- ubuntu-latest
# - windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
Expand Down
3 changes: 3 additions & 0 deletions ci/tsan
Expand Up @@ -8,3 +8,6 @@ race:crossbeam_epoch
# forgotten and the steal operation is then retried.
race:crossbeam_deque*push
race:crossbeam_deque*steal

# AtomicCell::compare_exchange uses fences if it is not lock-free.
race:crossbeam_utils::atomic::atomic_cell::AtomicCell<T>::compare_exchange
1 change: 1 addition & 0 deletions crossbeam-epoch/src/collector.rs
Expand Up @@ -199,6 +199,7 @@ mod tests {
.unwrap();
}

#[cfg(not(feature = "sanitize"))]
#[test]
fn incremental() {
const COUNT: usize = 100_000;
Expand Down
1 change: 1 addition & 0 deletions crossbeam-epoch/src/internal.rs
Expand Up @@ -374,6 +374,7 @@ pub struct Local {

// Make sure `Local` is less than or equal to 2048 bytes.
// https://github.com/crossbeam-rs/crossbeam/issues/551
#[cfg(not(feature = "sanitize"))]
#[test]
fn local_size() {
assert_eq!(2040, core::mem::size_of::<Local>());
Expand Down

0 comments on commit dbdd891

Please sign in to comment.