-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from taks/portable-atomic
Use `portable_atomic` instead of `atomic-polyfill`
- Loading branch information
Showing
5 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "once_cell" | ||
version = "1.18.0" | ||
version = "1.19.0" | ||
authors = ["Aleksey Kladov <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
|
@@ -21,7 +21,7 @@ members = ["xtask"] | |
|
||
[dependencies] | ||
parking_lot_core = { version = "0.9.3", optional = true, default_features = false } | ||
atomic-polyfill = { version = "1", optional = true } | ||
portable-atomic = { version = "1", optional = true } | ||
critical-section = { version = "1", optional = true } | ||
|
||
[dev-dependencies] | ||
|
@@ -48,7 +48,7 @@ parking_lot = ["dep:parking_lot_core"] | |
# Uses `critical-section` to implement `sync` and `race` modules. in | ||
# `#![no_std]` mode. Please read `critical-section` docs carefully | ||
# before enabling this feature. | ||
critical-section = ["dep:critical-section", "dep:atomic-polyfill" ] | ||
critical-section = ["dep:critical-section", "portable-atomic" ] | ||
|
||
# Enables semver-exempt APIs of this crate. | ||
# At the moment, this feature is unused. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters