Skip to content

Commit

Permalink
Merge pull request #267 from taiki-e/portable-atomic
Browse files Browse the repository at this point in the history
Remove "portable-atomic?/require-cas" from race feature
  • Loading branch information
matklad authored Oct 5, 2024
2 parents 3b9bd9b + cf87ac6 commit 0aef2f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock.msrv

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ members = ["xtask"]

[dependencies]
parking_lot_core = { version = "0.9.10", optional = true, default-features = false }
portable-atomic = { version = "1.7", optional = true, default-features = false }
portable-atomic = { version = "1.8", optional = true, default-features = false }
critical-section = { version = "1.1.3", optional = true }

[dev-dependencies]
Expand All @@ -38,7 +38,7 @@ std = ["alloc"]
alloc = ["race"]

# Enables `once_cell::race` module.
race = ["portable-atomic?/require-cas"]
race = []

# Uses parking_lot to implement once_cell::sync::OnceCell.
# This makes no speed difference, but makes each OnceCell<T>
Expand Down

0 comments on commit 0aef2f8

Please sign in to comment.