-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*: Use compare_exchange and fix sync import (#381)
* src/: Replace deprecated compare_and_swap with compare_exchange(_weak) `compare_and_swap` is deprecated in favor of `compare_exchange` and `compare_exchange_weak`. This commit replaces the former with either of the two latter options. Signed-off-by: Max Inden <[email protected]> * static/metric/: use TokenStream from proc_macro Signed-off-by: Federico Garcia Ronca <[email protected]> Co-authored-by: Federico Garcia Ronca <[email protected]>
- Loading branch information
Showing
5 changed files
with
41 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
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
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