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 74e3e01
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
env:
RUST_VERSION: ${{ matrix.rust }}
strategy:
fail-fast: false
matrix:
crates:
- crossbeam
Expand All @@ -35,11 +36,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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 74e3e01

Please sign in to comment.