File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ mod select_mod;
3131#[ cfg( feature = "async-await-macro" ) ]
3232pub use self :: select_mod:: * ;
3333
34+ #[ cfg( feature = "std" ) ]
3435#[ cfg( feature = "async-await-macro" ) ]
3536mod random;
37+ #[ cfg( feature = "std" ) ]
3638#[ cfg( feature = "async-await-macro" ) ]
3739pub use self :: random:: * ;
3840
Original file line number Diff line number Diff line change @@ -306,6 +306,7 @@ macro_rules! document_select_macro {
306306}
307307
308308document_select_macro ! {
309+ #[ cfg( feature = "std" ) ]
309310 #[ proc_macro_hack( support_nested) ]
310311 pub use futures_macro:: select;
311312
Original file line number Diff line number Diff line change @@ -34,12 +34,10 @@ pub use futures_core::ready;
3434pub use pin_utils:: pin_mut;
3535
3636// Not public API.
37- #[ cfg( feature = "std" ) ]
3837#[ cfg( feature = "async-await" ) ]
3938#[ macro_use]
4039#[ doc( hidden) ]
4140pub mod async_await;
42- #[ cfg( feature = "std" ) ]
4341#[ cfg( feature = "async-await" ) ]
4442#[ doc( hidden) ]
4543pub use self :: async_await:: * ;
Original file line number Diff line number Diff line change @@ -542,23 +542,21 @@ pub mod never {
542542pub use futures_core:: core_reexport;
543543
544544// Not public API.
545- #[ cfg( feature = "std" ) ]
546545#[ cfg( feature = "async-await" ) ]
547546#[ doc( hidden) ]
548547pub use futures_util:: async_await;
549548
550549// Not public API.
551- #[ cfg( feature = "std" ) ]
552550#[ cfg( feature = "async-await" ) ]
553551#[ doc( hidden) ]
554552pub mod inner_macro {
555553 pub use futures_util:: join;
556554 pub use futures_util:: try_join;
555+ #[ cfg( feature = "std" ) ]
557556 pub use futures_util:: select;
558557 pub use futures_util:: select_biased;
559558}
560559
561- #[ cfg( feature = "std" ) ]
562560#[ cfg( feature = "async-await" ) ]
563561futures_util:: document_join_macro! {
564562 #[ macro_export]
@@ -582,9 +580,9 @@ futures_util::document_join_macro! {
582580 }
583581}
584582
585- #[ cfg( feature = "std" ) ]
586583#[ cfg( feature = "async-await" ) ]
587584futures_util:: document_select_macro! {
585+ #[ cfg( feature = "std" ) ]
588586 #[ macro_export]
589587 macro_rules! select { // replace `::futures_util` with `::futures` as the crate path
590588 ( $( $tokens: tt) * ) => {
You can’t perform that action at this time.
0 commit comments