File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 235235//!
236236//! ### `futures`
237237//!
238- //! An example of running two tasks concurrently. First task: blink an LED every
239- //! second. Second task: loop back data over the serial interface.
238+ //! An example of running two tasks concurrently. First task: blink a LED every
239+ //! second. Second task: loop back data over the serial interface. The target
240+ //! must provide the `libstd` in order to be able to use `futures`, which is not
241+ //! the case for many embedded targets.
240242//!
241243//! ```
242244//! extern crate embedded_hal as hal;
377379//!
378380//! ### `await`
379381//!
380- //! Same example as above but using `await!` instead of `futures`.
382+ //! Same example as above but using `await!` instead of `futures`
383+ //! (same remark concerning the availability of `libstd` on the
384+ //! target).
381385//!
382386//! ```
383387//! #![feature(generator_trait)]
You can’t perform that action at this time.
0 commit comments