Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AtomicWaker::new() a const fn #2007

merged 1 commit into from Dec 18, 2019


Copy link

tomaka commented Dec 16, 2019

Allows doing static FOO: AtomicWaker = AtomicWaker::new();.

Copy link

yoshuawuyts left a comment

Oh this is very cool!


This comment has been minimized.

Copy link

Nemo157 commented Dec 16, 2019

CI failure is the ! stabilization revert I mentioned in #2000 (comment), I can hopefully open another PR refixing CI soon.

@cramertj cramertj merged commit 3c09c69 into rust-lang:master Dec 18, 2019
1 check failed
1 check failed
Travis CI - Pull Request Build Failed
@tomaka tomaka deleted the tomaka:const-new-atomic-waker branch Dec 18, 2019
@tomaka tomaka restored the tomaka:const-new-atomic-waker branch Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.