diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-04-06 22:39:27 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-04-06 22:39:36 +0200 |
| commit | e2516bba09fbb99da95939656e172156ad1924fc (patch) | |
| tree | 4ede6bd4840ec479643022cd0e8c4393580f7c03 | |
| parent | f3ec6080bf9a39d9819195861e7b41e8a2081600 (diff) | |
executor: fix doc features.
| -rw-r--r-- | embassy-executor/Cargo.toml | 19 | ||||
| -rw-r--r-- | rust-toolchain.toml | 1 |
2 files changed, 9 insertions, 11 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index bb8a46c82..29e1bd478 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -14,21 +14,18 @@ categories = [ | |||
| 14 | [package.metadata.embassy_docs] | 14 | [package.metadata.embassy_docs] |
| 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" | 15 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" |
| 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" | 16 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" |
| 17 | features = ["nightly", "defmt"] | 17 | features = ["nightly", "defmt", "pender-callback"] |
| 18 | flavors = [ | 18 | flavors = [ |
| 19 | { name = "std", target = "x86_64-unknown-linux-gnu", features = ["std"] }, | 19 | { name = "std", target = "x86_64-unknown-linux-gnu", features = ["arch-std", "executor-thread"] }, |
| 20 | { name = "wasm", target = "wasm32-unknown-unknown", features = ["wasm"] }, | 20 | { name = "wasm", target = "wasm32-unknown-unknown", features = ["arch-wasm", "executor-thread"] }, |
| 21 | { name = "thumbv6m-none-eabi", target = "thumbv6m-none-eabi", features = [] }, | 21 | { name = "cortex-m", target = "thumbv7em-none-eabi", features = ["arch-cortex-m", "executor-thread", "executor-interrupt"] }, |
| 22 | { name = "thumbv7m-none-eabi", target = "thumbv7m-none-eabi", features = [] }, | 22 | { name = "riscv32", target = "riscv32imac-unknown-none-elf", features = ["arch-riscv32", "executor-thread"] }, |
| 23 | { name = "thumbv7em-none-eabi", target = "thumbv7em-none-eabi", features = [] }, | ||
| 24 | { name = "thumbv7em-none-eabihf", target = "thumbv7em-none-eabihf", features = [] }, | ||
| 25 | { name = "thumbv8m.base-none-eabi", target = "thumbv8m.base-none-eabi", features = [] }, | ||
| 26 | { name = "thumbv8m.main-none-eabi", target = "thumbv8m.main-none-eabi", features = [] }, | ||
| 27 | { name = "thumbv8m.main-none-eabihf", target = "thumbv8m.main-none-eabihf", features = [] }, | ||
| 28 | ] | 23 | ] |
| 29 | 24 | ||
| 30 | [package.metadata.docs.rs] | 25 | [package.metadata.docs.rs] |
| 31 | features = ["std", "nightly", "defmt"] | 26 | default-target = "thumbv7em-none-eabi" |
| 27 | targets = ["thumbv7em-none-eabi"] | ||
| 28 | features = ["nightly", "defmt", "pender-callback", "arch-cortex-m", "executor-thread", "executor-interrupt"] | ||
| 32 | 29 | ||
| 33 | [features] | 30 | [features] |
| 34 | 31 | ||
diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 22abacdea..9785cd9eb 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml | |||
| @@ -9,5 +9,6 @@ targets = [ | |||
| 9 | "thumbv6m-none-eabi", | 9 | "thumbv6m-none-eabi", |
| 10 | "thumbv7em-none-eabihf", | 10 | "thumbv7em-none-eabihf", |
| 11 | "thumbv8m.main-none-eabihf", | 11 | "thumbv8m.main-none-eabihf", |
| 12 | "riscv32imac-unknown-none-elf", | ||
| 12 | "wasm32-unknown-unknown", | 13 | "wasm32-unknown-unknown", |
| 13 | ] | 14 | ] |
