Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

core: Rewrite await!(future) to future.await #1726

Merged
merged 6 commits into from
Oct 11, 2019

Conversation

timotree3
Copy link
Collaborator

@timotree3 timotree3 commented Sep 27, 2019

PR summary

This resolves #1723 by migrating away from the old syntax.

The other change this commit makes is removing #![feature(await_macro)] invocations.

changelog

The only "breaking change" this PR causes is change our minimum supported nightly to 2019-05-08. This doesn't seem changelog worthy to me.

Please check one of the following, relating to the CHANGELOG-UNRELEASED.md

  • this is a code change that effects some consumer (e.g. zome developers) of holochain core so it is added to the CHANGELOG-UNRELEASED.md (linked above), with the format - summary of change [PR#1234](https://github.com/holochain/holochain-rust/pull/1234)
  • this is not a code change, or doesn't effect anyone outside holochain core development

This resolves holochain#1723 by migrating away from the old syntax

The other change this commit makes is removing
`#![feature(await_macro)]`
invocations
@timotree3
Copy link
Collaborator Author

I just found out that the make script sets an override for nightly-2019-07-14. That would explain why nobody is running into this.

@timotree3
Copy link
Collaborator Author

A cursory search reveals that there are 8 different places that would need to be updated to a new version of rust to use after this change.

It seems like this PR is then blocked on determining a new version of nightly to stick with that's after 2019-7-30. I imagine that's low priority for the team. Hmmm...

@timotree3
Copy link
Collaborator Author

Oh never mind, 2019-07-14 supports the new syntax as well.

Copy link
Collaborator

@lucksus lucksus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@lucksus lucksus merged commit 6a2fdea into holochain:develop Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation fails on nightlies since 2019-7-30 due to old await syntax
3 participants