Skip to content

Conversation

sdroege
Copy link
Contributor

@sdroege sdroege commented Jul 19, 2018

Fixes #1096


This does not fix futures/testcrate as that one seems to have quite a few more problems

@sdroege
Copy link
Contributor Author

sdroege commented Jul 19, 2018

It would probably make sense to add the nightly tests to travis. I can add that if you agree

@MajorBreakfast
Copy link
Contributor

Feel free to add the nightly tests to the CI. I agree that having them in there is a good idea.

The CI fails because of some changes to cfg(target_has_atomic). Fixing this is super easy, though. More about it here: #1089

Nemo157 and others added 2 commits July 19, 2018 10:53
As of rust-lang/rust#51953
`cfg(target_has_atomic)` has been updated to separately enable
compare-and-swap (CAS) operations from the different supported sizes.
Because `AtomicWaker` uses these CAS operations we need to also gate its
inclusion on `cfg(target_has_atomic = "cas")`. `thumv6m` is one of the
architectures that supports atomic read-write operations on its pointer
sized integers, but doesn't support CAS operations.
@sdroege
Copy link
Contributor Author

sdroege commented Jul 19, 2018

Ok, this is all running now. The only thing left is the test-crate, that seems to need some more attention

The expected compiler errors have slightly changed
@sdroege
Copy link
Contributor Author

sdroege commented Jul 19, 2018

And the testcrate also succeeds now, should be all green again

@MajorBreakfast
Copy link
Contributor

And it's green. Wonderful! Thanks :)

@MajorBreakfast MajorBreakfast merged commit bc818b6 into rust-lang:master Jul 19, 2018
@MajorBreakfast MajorBreakfast mentioned this pull request Jul 19, 2018
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.

0.2 fails to compile with latest nightly

3 participants