Stream: wg-async-foundations

Topic: stability and TLS


nikomatsakis (May 02 2019 at 18:31, on Zulip):

Hey @Taylor Cramer -- I just wanted to confirm something about the TLS we use today

nikomatsakis (May 02 2019 at 18:31, on Zulip):

How exactly can you "observe" that we are using TLS? Somebody has to set that TLS, I presume that doing so remains unstable?

nikomatsakis (May 02 2019 at 18:31, on Zulip):

I'm kind of confused how it works today, I guess

Taylor Cramer (May 02 2019 at 18:38, on Zulip):

You cannot observe it on stable

Taylor Cramer (May 02 2019 at 18:38, on Zulip):

The gen_future feature gate blocks access to all the library functionality used by async/await internals

Taylor Cramer (May 02 2019 at 18:39, on Zulip):

https://github.com/rust-lang/rust/blob/master/src/libstd/future.rs#L60 has the impl -- it's a quick read if you want to look

Taylor Cramer (May 02 2019 at 18:39, on Zulip):

@nikomatsakis

nikomatsakis (May 02 2019 at 20:07, on Zulip):

Thanks @Taylor Cramer , that's what I figured.

Last update: Nov 18 2019 at 00:40UTC