-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide AtomicWaker if portable-atomic feature is enabled, even if at…
…omic CAS is not available
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 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
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,4 +1,4 @@ | ||
#[cfg(not(futures_no_atomic_cas))] | ||
#[cfg(any(not(futures_no_atomic_cas), feature = "portable-atomic"))] | ||
mod atomic_waker; | ||
#[cfg(not(futures_no_atomic_cas))] | ||
#[cfg(any(not(futures_no_atomic_cas), feature = "portable-atomic"))] | ||
pub use self::atomic_waker::AtomicWaker; |
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