Skip to content

Conversation

@seanmonstar
Copy link
Contributor

Just to poll a Future01, it isn't yet necessary to call
task01::current(), nor store it in an Arc::new. All that is needed
is a "reference", and if someone calls waker().clone(), then we can
do the allocations.

Just to poll a `Future01`, it isn't yet necessary to call
`task01::current()`, nor store it in an `Arc::new`. All that is needed
is a "reference", and if someone calls `waker().clone()`, *then* we can
do the allocations.
@seanmonstar
Copy link
Contributor Author

CI failure seems unrelated to this PR.

@Nemo157
Copy link
Contributor

Nemo157 commented Sep 18, 2018

CI is definitely unrelated, doc failure is the buggy rustdoc link detection (which I will open a pr to disable soon) and benchmarks are caused by rust-lang/rust#54116, left a comment there to try and sort that out.

Copy link
Contributor

@Nemo157 Nemo157 left a comment

Choose a reason for hiding this comment

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

LGTM

@seanmonstar
Copy link
Contributor Author

I've tried restarting those CI jobs, but they still fail. Seems this can't be merged with them failing...

@Nemo157
Copy link
Contributor

Nemo157 commented Sep 28, 2018

Admins can merge even with failing ci (and as far as I know only the admins have merge rights here anyway).

@aturon aturon merged commit 12e67a0 into rust-lang:master Oct 1, 2018
@aturon
Copy link
Contributor

aturon commented Oct 1, 2018

Merged, sorry for the delay (and feel free to ping if things are getting stuck.)

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.

3 participants