lighkLife / embassy-cn

Embassy 中文文档
https://lighklife.github.io/embassy-cn
0 stars 4 forks source link

build error with unresolved import `embassy_executor::Executor` #7

Open lighkLife opened 10 months ago

lighkLife commented 10 months ago
   Compiling embassy-executor v0.3.2
   Compiling os v0.1.0 (/home/lighk/RustroverProjects/rCore-Tutorial-v3/os)
error[E0432]: unresolved import `embassy_executor::Executor`
  --> src/main.rs:16:24
   |
16 | use embassy_executor::{Executor, SendSpawner};
   |                        ^^^^^^^^ no `Executor` in the root
   |
   = help: consider importing this struct instead:
           embassy_executor::raw::Executor