aboutsummaryrefslogtreecommitdiff
path: root/src/async_await
diff options
context:
space:
mode:
authorDavid LeGare <legare@google.com>2022-03-02 16:21:21 +0000
committerDavid LeGare <legare@google.com>2022-03-02 16:21:21 +0000
commit737dc9728807dc6e09c840fce95dc954780f4b71 (patch)
tree7b826874213015b98b9e0383a89c88be66b64b11 /src/async_await
parentaf5e0a0c20c10ba737a56482791cbf1d07db0690 (diff)
downloadfutures-util-737dc9728807dc6e09c840fce95dc954780f4b71.tar.gz
Update futures-util to 0.3.21
Test: cd external/rust/crates && atest --host -c Change-Id: I0c08e14c3a0fb14c4f2e497dbe777b597ebf2ee2
Diffstat (limited to 'src/async_await')
-rw-r--r--src/async_await/join_mod.rs2
-rw-r--r--src/async_await/select_mod.rs5
-rw-r--r--src/async_await/stream_select_mod.rs5
3 files changed, 0 insertions, 12 deletions
diff --git a/src/async_await/join_mod.rs b/src/async_await/join_mod.rs
index c5cdd9b..28f3b23 100644
--- a/src/async_await/join_mod.rs
+++ b/src/async_await/join_mod.rs
@@ -81,12 +81,10 @@ macro_rules! document_join_macro {
#[allow(unreachable_pub)]
#[doc(hidden)]
-#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))]
pub use futures_macro::join_internal;
#[allow(unreachable_pub)]
#[doc(hidden)]
-#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))]
pub use futures_macro::try_join_internal;
document_join_macro! {
diff --git a/src/async_await/select_mod.rs b/src/async_await/select_mod.rs
index 37e938d..1d13067 100644
--- a/src/async_await/select_mod.rs
+++ b/src/async_await/select_mod.rs
@@ -29,9 +29,6 @@ macro_rules! document_select_macro {
/// It is also gated behind the `async-await` feature of this library, which is
/// activated by default.
///
- /// Note that `select!` relies on `proc-macro-hack`, and may require to set the
- /// compiler's recursion limit very high, e.g. `#![recursion_limit="1024"]`.
- ///
/// # Examples
///
/// ```
@@ -309,12 +306,10 @@ macro_rules! document_select_macro {
#[cfg(feature = "std")]
#[allow(unreachable_pub)]
#[doc(hidden)]
-#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))]
pub use futures_macro::select_internal;
#[allow(unreachable_pub)]
#[doc(hidden)]
-#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))]
pub use futures_macro::select_biased_internal;
document_select_macro! {
diff --git a/src/async_await/stream_select_mod.rs b/src/async_await/stream_select_mod.rs
index 7743406..1c8002f 100644
--- a/src/async_await/stream_select_mod.rs
+++ b/src/async_await/stream_select_mod.rs
@@ -3,7 +3,6 @@
#[cfg(feature = "std")]
#[allow(unreachable_pub)]
#[doc(hidden)]
-#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))]
pub use futures_macro::stream_select_internal;
/// Combines several streams, all producing the same `Item` type, into one stream.
@@ -13,10 +12,6 @@ pub use futures_macro::stream_select_internal;
///
/// If multiple streams are ready, one will be pseudo randomly selected at runtime.
///
-/// This macro is gated behind the `async-await` feature of this library, which is activated by default.
-/// Note that `stream_select!` relies on `proc-macro-hack`, and may require to set the compiler's recursion
-/// limit very high, e.g. `#![recursion_limit="1024"]`.
-///
/// # Examples
///
/// ```