3 ms·
I could be wrong, but I don't think Rust futures/tasks rely on thread-local storage anymore. Some early iterations of the feature did, but I think that was repl
by oconnor663 4y ago
I could be wrong, but I don't think Rust futures/tasks rely on thread-local storage anymore. Some early iterations of the feature did, but I think that was replaced with an explicit argument to the poll() function before stabilization. That said, the typical async/await syntax makes that invisible, so it definitely does feel a lot like TLS.