File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 235
235
//!
236
236
//! ### `futures`
237
237
//!
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.
240
242
//!
241
243
//! ```
242
244
//! extern crate embedded_hal as hal;
377
379
//!
378
380
//! ### `await`
379
381
//!
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).
381
385
//!
382
386
//! ```
383
387
//! #![feature(generator_trait)]
You can’t perform that action at this time.
0 commit comments