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

Implement RFC 1649 #35719

Merged
merged 2 commits into from
Aug 19, 2016
Merged

Implement RFC 1649 #35719

merged 2 commits into from
Aug 19, 2016

Conversation

Amanieu
Copy link
Member

@Amanieu Amanieu commented Aug 16, 2016

@alexcrichton
Copy link
Member

Thanks! Can you also add some tests exercising this functionality? I'd be particularly interested in some tests mixing atomic and mut operations on AtomicBool.

It also looks like travis may be failing legitimately?

@Amanieu
Copy link
Member Author

Amanieu commented Aug 16, 2016

The doc tests already test the basic functionality. What exactly do you have in mind regarding AtomicBool? Is it just the interaction between get_mut and fetch_{and,or,xor}?

I've fixed the travis error, it should work now.

@alexcrichton
Copy link
Member

alexcrichton commented Aug 16, 2016

Oh right yeah, doc tests are fine for most. But yeah I know we've had interesting interactions with AtomicBool in the past and those operations, so it may be worth just having a few smoke tests here and there

@Amanieu
Copy link
Member Author

Amanieu commented Aug 18, 2016

I added test.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Aug 18, 2016

📌 Commit ee1fc38 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Aug 19, 2016

⌛ Testing commit ee1fc38 with merge 413ada3...

bors added a commit that referenced this pull request Aug 19, 2016
1 similar comment
@bors bors merged commit ee1fc38 into rust-lang:master Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants